curl --request PUT \
--url http://localhost:8080/api/v1/agents/me/availability \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"status": "available"
}'
{
"status": "success",
"data": true
}
curl --request PUT \
--url http://localhost:8080/api/v1/agents/me/availability \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"status": "available"
}'
{
"status": "success",
"data": true
}
Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>
Availability status update
The body is of type object
.
Agent availability updated successfully
The response is of type object
.
Was this page helpful?