System Roles

Modify system roles for a specific user

Changed on

Add or remove a system role for a specific user. The request body must contain exactly one of 'role_addition' or 'role_removal' fields, but not both.

patch/api/v1alpha/system_roles/{user_id}

Request

  • Base URL
    {{ base_url }}
  • URL
    {{ base_url }}/api/v1alpha/system_roles/{user_id}
  • Auth
    none declared

Path parameters

integer required

User ID

OR
string required

Username

User ID (integer) or username (string) to modify system roles for

Request body

OR

Response

System role successfully modified

action'added' | 'removed'

The action that was performed

role'developer' | 'billing_manager'

The role that was modified

userstring

Username of the affected user

Changes

    • info

      the endpoint scheme security developerAuth was removed from the API

    • breaking

      removed subschema #1 subschema #2 from the request body oneOf list

    • info

      added subschema #1 subschema #2 to the request body oneOf list