Skip to content

Delete provisioning profile

About

Deletes a provisioning profile with specified id. You cannot delete the provisioning profile until you delete all linked accounts.

DELETE /users/current/provisioning-profiles/:id

For more information see swagger documentation

Headers

Name Type Required Description
auth-token string Yes Authorization token. See Authentication and authorization

Path parameters

Name Type Required Description
id string Yes Id of the provisioning profile to be deleted

Response

  • 204 - Provisioning profile with specified id has been deleted
  • 400 - Unable to delete provisioning profile because there are accounts in use. Response schema: Error
  • 401 - Authorization failed. Response schema: Error
  • 404 - Provisioning profile with specified id was not found. Response schema: Error

Examples

Example request:

curl -X DELETE --header 'Accept: application/json' --header 'auth-token: token' 'https://mt-provisioning-api-v1.agiliumtrade.agiliumtrade.ai/users/current/provisioning-profiles/f9ce1f12-e720-4b9a-9477-c2d4cb25f076'