Role

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

post/api/roles

Request

  • Base URL
    https://api.ganjoor.net (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header Authorization

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"
    }
  ]
}

Changes

No recorded changes to this operation across all 43 revisions of this API.