Create Delegate
POST/createDelegate
This method creates a new delegate for a parent User. The input parameters of this method contains the details of the Parent User as well as the one to whom the Delegation is carried out.
The Authorization
must have Bearer
followed by Token
.
Mandatory params:
userName
- this is user who is creating the delegation,
name
- name of delegate,
delegateusername
- this is the user who should be assigned as the delegate of the parent user,
delegatestartdate
- in format MMDDYYY,
delegateenddate
- in format MMDDYYY
Optional params:
parentusername
- this is the parent username, if not passed it will consider userName
as parentusername,
description
Request
- application/x-www-form-urlencoded
Body
Responses
- 200
Create Delegate
Response Headers
Access-Control-Allow-Credentials
string
Access-Control-Allow-Origin
string
Cache-Control
string
Date
string
Expires
string
Referrer-Policy
string
Server
string
Set-Cookie
string
Strict-Transport-Security
string
X-Content-Type-Options
string
X-Frame-Options
string
- application/json
- Schema
- Example (from schema)
- Create Delegate
Schema
{
"delegatekey": "1",
"errorCode": "0",
"msg": " Delegate created"
}
{
"delegatekey": "1",
"errorCode": "0",
"msg": " Delegate created"
}