Skip to content

Update provisioning profile

About

Updates specified provisioning profile

PUT /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

Body

Name Type Required Description
name string Yes User-defined provisioning profile name
brokerTimezone string Broker timezone name from Time Zone Database
brokerDSTSwitchTimezone string Timezone according to which daylight saving time switch happens on broker server
managerLogin number MetaTrader manager login
managerPassword string MetaTrader manager password
managerServer string Colon separated address and port of the manager server

Responses

  • 204 - Provision profile updated successfully
  • 400 - Name field not specified. Response schema: Error
  • 401 - Authorization failed. Response schema: Error

Examples

Example request:

curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'auth-token: token' -d '{
  "name": "new name"
}' 'https://mt-provisioning-api-v1.agiliumtrade.agiliumtrade.ai/users/current/provisioning-profiles/f9ce1f12-e720-4b9a-9477-c2d4cb25f076'