Groups

Enable a directory for a group

Enable a directory for a group. Returns a status code of 404 if group or directory does not exist. Returns a status code of 400 if the directory is already enabled for the group.

post/v1/groups/{group_id}/directories

Request

  • Base URL
    https://api.capacity.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header x-capacity-id
    • or HTTP bearer

Path parameters

group_idstring required

ID of a group

Request body

directory_idstring required

ID of a directory not yet enabled for the group

Response

The newly enabled directory

bodyobject

Json body data in the request

parametersobject

Query parameters in the request

Changes

No recorded changes to this operation across all 1 revision of this API.