Create a role

Creates a role.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Request

request body
roleobjectOptional
This is the schema for an IAP role stored in Mongo

Response

Result of role creation process
statusenum
The status of the API request.
Allowed values:
messagestring
Message containing either confirmation of the operation or the reason for the failure of the operation.
dataobject
This is the schema for an IAP role stored in Mongo

Errors

500
Internal Server Error