v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-014430130.6 KB
roles

Assign a role to a list of users

This is a business/enterprise only endpoint

post/roles/assign

Request body

builderboolean

Add/remove global builder permissions from the list of users.

adminboolean

Add/remove global admin permissions from the list of users.

userIdsstring[] required

The user IDs to be updated to add/remove the specified roles.

Response

Returns a list of updated user IDs