v1

latestOpenAPI 3.0.32026-07-17542197.8 KB
Permission

Create permission

Create a new permission for a subject to the given target.

post/v1/permissions

Request body

kind'*' | 'create' | 'write' | 'read' | 'delete' required

Kind of a permission.

Example request

{
  "subject": {
    "id": "9bsv0s46s6s002p9ltq0"
  },
  "target": {
    "id": "9bsv0s46s6s002p9ltq0"
  }
}

Response

Example response

idstring required

ID of the newly created resource.