Skip to content

Read provisioning profiles

About

Returns provisioning profiles belonging to the current user

GET /users/current/provisioning-profiles

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 profile to retrieve

Response

  • 200 - Provisioning profile list. Response schema: Array<ProvisioningProfile>
  • 401 - Authorization failed. Response schema: Error
  • 404 - Provisioning profile not found. Response schema: Error

Examples

Example request:

curl -X GET --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'

Example response:

[
  {
    "_id": "f9ce1f12-e720-4b9a-9477-c2d4cb25f076",
    "name": "test",
    "version": 5,
    "status": "new",
    "brokerTimezone": "EET",
    "brokerDSTSwitchTimezone": "EET"
  }
]