RahalCorporate
DelegationReference

Fields Reference

Reference for delegation fields and constraints

Fields Reference

This page documents all fields in a delegation record and their constraints.

Delegation Fields

FieldDescriptionRequired
DelegatorThe user who grants access to their travelersYes
DelegateThe user who receives accessYes
CompanyThe company context for this delegationYes
ScopesPermission scopes grantedYes (at least one)
StatusWhether the delegation is active or inactiveYes
CreatedWhen the delegation was createdAutomatic

Uniqueness

Each delegation must be unique based on the combination of:

  • Delegator (who grants access)
  • Delegate (who receives access)
  • Company

You cannot create duplicate delegations for the same user pair in the same company. If you need to change the scopes, edit the existing delegation instead.

Default Values

FieldDefault
ScopesView Travelers, Create Bookings, View Bookings
StatusActive

Validation Rules

RuleError Message
Delegator and delegate are the same user"Cannot delegate to yourself"
Delegation already exists for this pair"Delegation already exists"
User not active in the company"User not found or not active in company"
No scopes selected"At least one scope is required"

On this page