curl --location --request PATCH '/rcs_agents/' \
--header 'Content-Type: application/json' \
--data-raw '{
"agent_name": "Test Agent",
"profile_id": "4001932a-b8a3-42fc-9389-021be6388909",
"webhook_failover_url": "http://example.com",
"webhook_url": "http://example.com"
}'
{
"data": {
"agent_id": "TestAgent",
"agent_name": "Test Agent",
"created_at": "2024-01-01T12:00:00.000Z",
"enabled": true,
"profile_id": "4001932a-b8a3-42fc-9389-021be6388909",
"updated_at": "2024-01-01T12:00:00.000Z",
"user_id": "2ecf295b-36c6-4d43-ad05-71eb1e560518",
"webhook_failover_url": "http://example.com",
"webhook_url": "http://example.com"
}
}
Authorization: Bearer ********************