Get group by name#
About#
Get group by name.
GET /users/current/mt5/provisioning-profiles/:profileId/groups/:groupName
For more information see swagger documentation
Headers#
Name | Type | Required | Description |
---|---|---|---|
auth-token | string | Yes | MetaApi account token. See Authentication & authorization |
Path parameters#
Name | Type | Required | Description |
---|---|---|---|
profileId | string | Yes | Id of the provisioning profile that will be used as the basis |
groupName | string | Yes | Group name |
Response#
- 200 - Successfully retrieved group. Response schema: Metatrader5Group
- 400 - Request validation failed. Response schema: Error
- 404 - Group not found. Response schema: Error
Examples#
Example request:
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'auth-token: token' -d '{}' 'https://mt-manager-api-v1.new-york.agiliumtrade.ai/users/current/mt5/provisioning-profiles/profileId/groups/groupName'
Example response:
{
"group": "Tradeview-Demo",
"company": "Tradeview"
}