User Groups

Remove Members from User Group

Changed on

Use this API to remove users as members of a specific user group.

🗒 Things to Know

  • The userId of the users to be removed from the user group can be specified in the request body in a comma separated list.
delete/api/access/v1/user-groups/{userGroupId}/members

Request

  • Base URL
    https://hostname
  • URL
    https://hostname/api/access/v1/user-groups/{userGroupId}/members
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://{hostname}/api/access/v1/oauth/token scopes: USER, USER_GROUP_WRITE

Path parameters

userGroupIdstring uuid required

The unique identifier of the user group.

Request body

membersstring[] required

The list of user identifiers of the user group.

groupIdstring uuid

The unique identifier of the user group.

Example request

{
  "members": [
    "550e8400-e29b-41d4-a716-446655440000"
  ],
  "groupId": "a739211d-d216-4398-a1c2-f7a20412692d"
}

Response

No Content

Changes

    • breaking

      the request property became required

    • breaking

      the request property's minItems was increased to 1

    • breaking

      the / request property's minItems was increased to 1

    • info

      the security scope USER_GROUP_WRITE was added to the endpoint's security scheme Platform-AccessManagement_OAUTH2