POST
/
v1
/
roles
{
  "name": "<string>",
  "title": "<string>",
  "description": "<string>",
  "permissions": [
    "<string>"
  ],
  "type": "TYPE_UNSPECIFIED"
}

Query Parameters

roleId
string

The ID to use for the role, which will become the final component of the role's resource name.

This value should be 4-63 characters, and valid characters are /[a-z][A-Z][0-9]/.

Body

application/json

Response

200
application/json

OK

The response is of type object.