POST /v1.0/myorg/groups/{groupId}/AssignToCapacity

Groups AssignToCapacity

Assigns the specified workspace to the specified capacity.
Note: To perform this operation, the user must be admin on the specified workspace and have admin or assign permissions on the capacity. To unassign the specified workspace from a capacity, Empty Guid (00000000-0000-0000-0000-000000000000) should be provided as capacityId.

Required scope: Capacity.ReadWrite.All and Workspace.ReadWrite.All
To set the permissions scope, see Register an app.

Servers

Path parameters

Name Type Required Description
groupId String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
capacityId String No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.