Portabase Logo
Portabase DashboardAPIOrganizations

Detach an agent from an organization

DELETE
/organizations/{id}/agents/{agentId}

Authorization

apiKeyAuth
headerx-api-key<token>

API key generated from the Portabase dashboard. Pass as the x-api-key header.

Path Parameters

id*string
Formatuuid
agentId*string
Formatuuid

Response Body

Agent detached from the organization

application/json
  1. response
data*
Example Request
curl -X DELETE 'https://portabase.example.com/api/v1/organizations/123e4567-e89b-12d3-a456-426614174000/agents/123e4567-e89b-12d3-a456-426614174000'
Example Response
{  "data": {    "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",    "agentId": "bc309ecf-5f66-4057-93c5-6611cc9cb7b2"  }}