AgentConnect
Organization variables & secrets

Unassign an organization entry from one agent

Idempotently removes one binding. Valid only while the entry targets selected agents, and requires resource.edit on the target. The agent then receives a full snapshot without the key, so a retained same-key agent-local row becomes effective again without re-entering its value.

DELETE
/v1/orgs/{orgId}/environment/{entryId}/agents/{agentId}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
entryId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
agentId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/orgs/string/environment/497f6eca-6276-4993-bfeb-53cbbbba6f08/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "key": "string",  "kind": "variable",  "variableValue": "string",  "secretConfigured": true,  "audience": "all",  "visibleAgentIds": [    "606a9edf-a597-4ef8-acd5-c88a5f3ab904"  ],  "version": 1,  "createdAt": "string",  "updatedAt": "string"}