users

Set a user's security groups

Replaces the full set of security groups (permissions) a user belongs to.

post/users/{id}/security-groups

Request

  • Base URL: https://api.ritten.io/v1
  • URL: https://api.ritten.io/v1/users/{id}/security-groups
  • Auth: none declared

Path parameters

idstring uuid required

ID of user to set security groups for

Request body

securityGroupIdsstring[] required

The full set of security group IDs the user should belong to

Response

success

idstring uuid
namestring
createdAtstring date-time

Example response

[
  {
    "id": "182c2e54-3494-4b85-aba5-038cf539d5bf",
    "name": "Clinicians",
    "createdAt": "2024-01-15T14:32:00Z"
  }
]

Changes

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