Skip to content
GitmoapAPIBeta
Schema

CreateRoleRequest

Define a custom role.

Shape

  • base_roleAccessLevelguestreporterdevelopermaintainerownerGuest, Reporter, Developer or Maintainer.
  • nameRoleName (string)
  • slugEntityName (string)Lowercase letters, digits and hyphens; unique in the organization.
  • addedarray of stringoptionalPermission keys to add. Each brings the permissions it needs.
  • descriptionRoleDescription (string) or nulloptional
  • removedarray of stringoptionalPermission keys to remove from the base.

Example

Synthesized example
{
"base_role": "guest",
"name": "payments-api",
"slug": "slug-3065",
"added": [
"added-76ce",
"added-5231"
],
"description": "Renders each region as density contours of its operations.",
"removed": [
"removed-df50"
]
}

Graph

Used inside

No schema contains this one.

Contains

No named schema inside.

Used by

Returned by 0 operations

No operation returns it directly.