Switch off a declared action
DELETE
Switches off one declaration. Needs a workspace admin's session; a key gets 403 forbidden. The record stays, marked revoked, as history. 404 activation_not_found when it was not on.
Requires an API key with the agent_actions:write scope.
apiKeyheader
AuthorizationBearer <token>A secret API key from the dashboard (Developers → API keys): vl_live_…, or vl_test_… for test mode. Each operation says which scope the key needs.
id*stringThe agent id.
application/json- body
actionId*stringThe declared action.
Length
1 <= length <= 200fingerprint*stringThe fingerprint from the list.
Length
1 <= length <= 400Switched off; the row stays as history
application/json- response
activated*booleancurl -X DELETE "https://api.vlayers.ai/v1/agents/$AGENT_ID/action-activations" \ -H "Authorization: Bearer $VOICELAYER_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "actionId": "vl.send_text", "fingerprint": "f3a9c1d2e4b5a6978877665544332211" }'Example Response
{ "activated": false}