Skip to main content
POST
Create delegation role

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

delegationId
string
required

Body

application/json
designeeRecipientType
object
required

Delegation recipient type

Example:

"PERSONNEL_IN_POSITION"

isAutoIssue
object
required

Auto Issue option for Delegation recipient of type PERSONNEL_IN_POSITION

Example:

false

roleRequirement
string
required

Requirement of role delegation

Example:

"Lorem ipsum is a dummy requirement"

tenantId
string
required

tenantId for users and position

Example:

"L14f5a115-52d0-4466-baff-740447a60774"

isCascade
object
required

if true then propogate to child roles else no propogate occurs

Example:

false

roleId
string
required

Id of role

Example:

"14f5a115-52d0-4466-baff-740447a60774"

roleDesignees
object[]

Delegation Designees

RoleStatus
enum<string>

Status of the role

Available options:
ACTIVE,
INACTIVE,
ASSIGNED,
ACKNOWLEDGED
Example:

"ASSIGNED"

Response

201 - application/json

Role delegations created successfully

statusCode
number
required

HTTP Status code

Example:

200

timestamp
string
required

Timestamp of the response

Example:

"2026-01-08T06:33:50.384Z"

message
string
required

Response message

Example:

"Success"

data
object
required

Response data