Edit in GitHubLog an issue

Update a deployment of customer

Use the PATCH /v3/customers/<customer-id>/deployments/<deployment-id> endpoint to update an existing deployment.

Assumptions

Ensure that you are aware of the following before updating a deployment resource:

  • Address can be updated with this API, but the country cannot be changed.
  • Status can be updated to deactivate or reactivate a deployment, but a deployment cannot be deactivated if there are any active subscriptions for that deployment.

Request header

ParameterDescription
X-Request-Id
A unique identifier for the call. The value should be reset for every single request. If this is not provided, then a request ID will be automatically generated. Using a duplicate request ID may return an error.
X-Correlation-Id
Required. A unique identifier for the call. This is to ensure idempotency. In the case of a timeout, the retry call could include the same value. Upon receiving some response, the value should be reset for the next call.
Accept
Required. Specifies the response type. Must be "application/json" for proper usage.
Content-Type
Required. Specifies the request type. Must be "application/json" for proper usage.
Authorization
Required. Authorization token in the form Bearer <token>
X-Api-Key
Required. The API Key for your integration

Request Body

You can update companyProfile or status, as shown in the following example:

Copied to your clipboard
{
"status": "1004",
"companyProfile": {
"address": {
"country": "US",
"region": "CA",
"city": "San Jose",
"addressLine1": "200 Fairmont Ave",
"addressLine2": "Apt 123",
"postalCode": "95110-1234",
"phoneNumber": "800-123-4567"
}
}
}

Response body

Deployment resource:

Copied to your clipboard
{
"deploymentId": "345434543",
"companyProfile": {
"address": {
"country": "US",
"region": "CA",
"city": "San Jose",
"addressLine1": "200 Fairmont Ave",
"addressLine2": "Apt 123",
"postalCode": "95110-1234",
"phoneNumber": "800-123-4567"
}
},
"creationDate": "2019-05-02T22:49:52Z",
"status": "1000",
"links": {
"self": {
"uri": "/v3/customers/5556667778/deployments/345434543",
"method": "GET",
"headers": []
}
}
}

HTTP status codes

Status codeDescription
201
Deployment created
400
Bad request
401
Invalid Authorization token
403
Invalid API Key
404
Invalid customer ID
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.