Set the disabled flag for a worker case and emit activity events
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
API Parameters
companyIdentifier
Type: uuid
Required: true
Description: company unique identifierworkerIdentifier
Type: uuid
Required: true
Description: worker unique identifierdisabled
Type: boolean
Required: true
Description: truefalseendDate
Type: string
Description: notereactivateMessaging
Type: boolean
Description: Re-enable messaging for the worker if it was disabled
Options: truetruefalsereactivateSegment
Type: boolean
Description: Re-include the worker in segments if they were excluded
Options: truetruefalse
Response Codes
202
Worker case disabled flag successfully updated400
default error response
Update History
Updated 3 months ago
Code Example
curl --request PATCH \
--url https://services.fountain.com/api/serviceemployment/processes/companies/companyIdentifier/profiles/all/workers/workerIdentifier/disabled \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"disabled":true}'
API Response
{
"status": "400",
"message": "Updated 3 months ago"
}