Run a command associated with a service
Run a command associated with a service.
Path parameters
-
An Atlas Project/Group ID.
-
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
-
The unique
_id
value of a service. -
Command name
POST
/groups/{groupId}/apps/{appId}/services/{serviceId}/commands/{commandName}
curl \
--request POST 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/services/{serviceId}/commands/{commandName}' \
--header "Authorization: Bearer $ACCESS_TOKEN"