Admin

Create a custom role holding exactly the permissions checked on it.

Nobody can create a role that holds more than they do.

post/admin/roles

Request

  • Base URL
    https://api.openintake.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.openintake.ai/admin/roles
  • Auth
    none declared

Request body

namestring required
descriptionstring nullable
permissionsPermission[]

Response

Successful Response

idstring required

'admin' or 'staff' for a built-in role, otherwise the custom role's id

namestring required
descriptionstring nullable
built_inboolean required
permissionsPermission[] required

Everything the role holds

user_countinteger required

Changes

    • breaking

      removed the enum value calls.feedback of the request property /

    • info

      removed the calls.feedback enum value from the / response property for the response status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the new optional request property