Roles

Create role bindings

Create role bindings.

post/roles/bindings

Request

  • Base URL
    https://public.escape.tech/v3
  • Auth
    API key in header X-ESCAPE-API-KEY

Request body

Example request

{
  "bindings": [
    {
      "roleId": "00000000-0000-0000-0000-000000000000",
      "projectId": "00000000-0000-0000-0000-000000000000",
      "userId": "00000000-0000-0000-0000-000000000000"
    },
    {
      "roleId": "11111111-1111-1111-1111-111111111111",
      "userId": "11111111-1111-1111-1111-111111111111"
    }
  ]
}

Response

OK

idstring uuid required

The id of the role binding

userIdstring uuid required

The id of the user

projectIdstring uuid required

The id of the project

roleIdstring uuid required

The id of the role

Changes

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