Edit Delegate
POST/editDelegate
This method is used to edit a specific delegate. The input parameters of this method contain 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:
key
- this is the delegatekey,
userName
- this is user who is updating 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
delegateenddate string
delegatestartdate string
delegateusername string
description string
key string
name string
parentusername string
userName string
Responses
- 200
Edit Delegate
Response Headers
Date
string
Server
string
Set-Cookie
string
- application/json
- Schema
- Example (from schema)
- Edit Delegate
Schema
errorCode string
msg string
{
"errorCode": "0",
"msg": " Delegate Updated"
}
{
"errorCode": "0",
"msg": " Delegate Updated"
}
Loading...