Gamma API
OrganizationsCompanies

Delete a company

DELETE
/api/organizations/{slug}/companies/{companyId}

Its members stay in the organization, in no company.

Who may call it: An owner, security admin or admin of the organization. API keys: no.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

slug*string

The organization's slug, as in its URL.

companyId*string

Response Body

OK.

application/json
  1. response
success*boolean
Example Request
curl -X DELETE 'http://localhost:3000/api/organizations/string/companies/string'
Example Response
{  "success": true}