v1

latestOpenAPI 3.0.42026-07-14475158859.0 KB
Role

add a new role (Auth policies: role:add)

post/api/roles

Request body

idstring uuid
namestring nullable
normalizedNamestring nullable
concurrencyStampstring nullable
descriptionstring nullable

Description

Example request

{
  "permissions": [
    {
      "securableItemShortName": "job",
      "operationShortName": "view"
    }
  ]
}

Response

OK

idstring uuid
namestring nullable
normalizedNamestring nullable
concurrencyStampstring nullable
descriptionstring nullable

Description

Example response

{
  "permissions": [
    {
      "securableItemShortName": "job",
      "operationShortName": "view"
    }
  ]
}