Custom Role Update APIAPI Explorer
Introduction
API Introduction
Custom Role Update API enables you to update a custom role.
API Calling
The API enables you to update a custom role.
Request URL: https://api.jodoo.com/api/v5/corp/role/update
Request Rate: 20 times/second
Request Method: POST
Request Parameters:
Parameter | Type | Required | Description |
role_no | Number | Yes | Role number |
group_no | Number | Yes | Role group number |
name | String | No | Role name |
Sample Request:
{
"role_no": 2558,
"group_no": 2547,
"name": "Research and development department"
}
Responses:
Parameter | Type | Required | Description |
role_no | Number | Yes | Role number |
group_no | Number | No | Role group number |
name | String | Yes | Role name |
type | Number | Yes | Role types
|
status | Number | Yes | Status
|
Sample Response:
{
"role": {
"role_no": 2558,
"group_no": 2547,
"name": "Research and development department",
"type": 0,
"status": 1
}
}