Bulk License Endpoint Mappings
Bulk API to create and/or delete multiple license-endpoint mappings in a single request. This is an atomic API. If there is any error in one/more operation, the other operations will also fail.
Bulk operations for creating or deleting mappings
Show optional properties
{
"operations": [
{
"operation": "string",
"mapping": {}
}
]
}
{
"operations": [
{
"operation": "CREATE",
"mapping": {
"license_id": "3DEC4C99-E9B9-4B88-B991-591C9CB2A51F",
"endpoint_id": "ffddc3d9-ecaa-470a-9155-69cbc2783d87"
}
},
{
"operation": "DELETE",
"mapping": {
"id": "abcd-1234-efgh-5678-ijkl"
}
},
{
"operation": "CREATE",
"mapping": {
"license_id": "XXXX-YYYY-ZZZZ-1111",
"endpoint_id": "aaaa-bbbb-cccc-dddd"
}
}
]
}
List of operations to perform.
Bulk operations successfully completed.
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
unexpected error
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"operations":["object"]}' https://{api_host}/licensing/bulk-license-endpoint-mappings