Read provisioning profile by id
About
Returns provisioning profile info by profile id. Requires provisioning.admin permission
GET /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 |
---|---|---|---|
provisioningProfileId | string | Yes | provisioning profile id |
Response
- 200 - Provisioning profile returned. Response schema: ProvisioningProfile
- 401 - Authorization failed. Response schema: Error
- 403 - Method or resource access permissions are missing. 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",
"type": "mtTerminal"
}