Table of Contents |
---|
Purpose
API paragraph not foundThis method allows to deactivate a previously added employee role
Specification
Page Properties | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
|
Preconditions
The user must have an active role
Logic
Only authenticated and authorized user can use this service
Only ACTIVE employee role can be deactivated
Legal entity can deactivate only its own employee roles
Request structure
...
Input parameters
Input parameter | Values | Type | Description | Example |
---|---|---|---|---|
id |
| String | Employee role identifier. Optional | d290f1ee-6c54-4b01-90e6-d701748f0851 |
Authorize
Verify the validity of access token
Return 401 in case validation fails
Check scopes in order to perform this action (scope = 'employee_role:write')
Return 403 in case invalid scope(s)
Headers
API paragraph not foundContent-Type:application/json
Request data validation
Validate legal entity
...