cURL
curl --request PATCH \ --url https://platform.thena.ai/v1/users/availability \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "availability": "ACTIVE" }'
{ "status": true, "message": "Success", "timestamp": "2024-01-01T00:00:00.000Z", "data": { "availability": "ACTIVE" } }
Enter your API key
Operation successful
The response is of type object.
object