Update a Subscription reseller
Updates the specified subscription reseller. In case the tenant is an indirect provider and the subscription type is license legacy then we will update the support contact for the given subscription. Returns true
if the support contact was updated;otherwise false
.
Available to the roles: csp
Headers
-
This header identifies which tenant to access with this request. This value should be an existent domain for the specified tenant.
-
X-Correlation-Id string(UUID)
This header is optional and by setting it you can correlate the audit logs made by this request.
Path parameters
-
GUID Unique identifier for the customer. The subscription must belong to this customer, otherwise this request will fail.
-
GUID Unique identifier for the subscription.
PATCH /v1/customers/{customerId}/subscriptions/{subscriptionId}/associated-reseller
curl \
-X PATCH https://app-cloudcockpitapi-prod-01.azurewebsites.net/v1/customers/{customerId}/subscriptions/{subscriptionId}/associated-reseller \
-H "Content-Type: application/json" \
-H "X-Tenant: string" \
-H "Authorization: Bearer eyJ0eXAiO..." \
-H "X-Correlation-Id: string" \
-d '"string"'
Request examples
# Headers
X-Tenant: string
Authorization: Bearer eyJ0eXAiO...
X-Correlation-Id: string
# Payload
string
Response examples (200)
true
Response examples (200)
true
Response examples (400)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}
Response examples (400)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}
Response examples (404)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}
Response examples (404)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}
Response examples (500)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}
Response examples (500)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}