cURL
curl --request POST \
--url http://localhost:4100/v1/agents/api/budget-builds/{buildId}/record-revoke \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"accountId": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({accountId: '<string>'})
};
fetch('http://localhost:4100/v1/agents/api/budget-builds/{buildId}/record-revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "removed"
}Agent API
Post v1agentsapibudget builds record revoke
Browser owner session required. Available only when the Base Agent API runtime gate is enabled and verified.
cURL
curl --request POST \
--url http://localhost:4100/v1/agents/api/budget-builds/{buildId}/record-revoke \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"accountId": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({accountId: '<string>'})
};
fetch('http://localhost:4100/v1/agents/api/budget-builds/{buildId}/record-revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "removed"
}Authorizations
Body
application/json