Assignments

Assigning an Actor to a server-wide Role

Given a roleId, which may be a numeric ID or a string role system name, and a numeric actorId, assigns that Role to that Actor across the entire server.

No POST body data is required, and if provided it will be ignored.

post/v1/assignments/{roleId}/{actorId}

Path parameters

roleIdstring required

Typically the integer ID of the Role. You may also supply the Role system name if it has one.

actorIdnumber required

The integer ID of the Actor.

Response

OK

successboolean required

Example response

{
  "success": true
}

Changes

Changed in 3 of the 55 revisions of this API.4

    • api operation id Assigning an Actor to a server-wide Role removed and replaced with assignActorToServerwideRole

      api-operation-id-removed

    • removed the non-success response with the status

      response-non-success-status-removed

    • api operation id assignActorToServerwideRole removed and replaced with Assigning an Actor to a server-wide Role

      api-operation-id-removed

    • added the non-success response with the status

      response-non-success-status-added

    This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog