Update Agent Access
curl --request PUT \
--url https://api.formbharo.artpark.ai/api/v1/agents/{agent_id}/access \
--header 'Content-Type: application/json' \
--data '
{
"access_emails": [
"<string>"
]
}
'import requests
url = "https://api.formbharo.artpark.ai/api/v1/agents/{agent_id}/access"
payload = { "access_emails": ["<string>"] }
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"access_emails": [
"<string>"
],
"owner_email": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Agents
Update Agent Access
Replace the list of admin emails that can manage an agent.
PUT
/
api
/
v1
/
agents
/
{agent_id}
/
access
Update Agent Access
curl --request PUT \
--url https://api.formbharo.artpark.ai/api/v1/agents/{agent_id}/access \
--header 'Content-Type: application/json' \
--data '
{
"access_emails": [
"<string>"
]
}
'import requests
url = "https://api.formbharo.artpark.ai/api/v1/agents/{agent_id}/access"
payload = { "access_emails": ["<string>"] }
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"access_emails": [
"<string>"
],
"owner_email": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}