Get an access control group

GET/accessControlGroups/{accessControlGroupId}

Base URL: https://api.tinkermode.com

Return the access control group with the specified ID.

Authentication

Send an Authorization header of the form ModeCloud <AUTH_CODE>.

Must contain a user, service account, or project API key.

Path parameters

NameTypeRequiredConstraintsDescription
accessControlGroupIdintegerYesThe unique ID for a specified access control group.

Responses

200 Successfully retrieved access control group with specified ID.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
descriptionstringYesDescription of group.
idintegerYesread-only (server-generated)Unique ID assigned at time of creation.
namestringYesDisplay name of group.
projectIdintegerYesread-only (server-generated)Project that this access control group belongs to.

Response example

{
  "description": "A group to access all devices in the project",
  "id": 1,
  "name": "Customer Support",
  "projectId": 10
}

401 Authorization is required to access this resource.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

403 Request failed because of denied permission.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

404 The requested accessControlGroup does not exist or is not accessible.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

429 Request failed because of rate limit.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

500 An unexpected error has occurred.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

503 The service is temporarily unavailable.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.