Update a Rookoo AI agent
curl --request PATCH \
--url https://app.rookoo.ai/api/v2/accounts/{account_id}/rookoo_agents/{id} \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '{}'const options = {
method: 'PATCH',
headers: {api_access_token: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://app.rookoo.ai/api/v2/accounts/{account_id}/rookoo_agents/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.rookoo.ai/api/v2/accounts/{account_id}/rookoo_agents/{id}"
payload = {}
headers = {
"api_access_token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){}Rookoo Agents
Update a Rookoo AI agent
PATCH
/
api
/
v2
/
accounts
/
{account_id}
/
rookoo_agents
/
{id}
Update a Rookoo AI agent
curl --request PATCH \
--url https://app.rookoo.ai/api/v2/accounts/{account_id}/rookoo_agents/{id} \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '{}'const options = {
method: 'PATCH',
headers: {api_access_token: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://app.rookoo.ai/api/v2/accounts/{account_id}/rookoo_agents/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.rookoo.ai/api/v2/accounts/{account_id}/rookoo_agents/{id}"
payload = {}
headers = {
"api_access_token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){}Authorizations
This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can be saved by an external system when user is created via API, to perform activities on behalf of the user.
Body
application/json
The body is of type object.
Response
200 - application/json
Success
The response is of type object.