Delete an Organization

delete

/api/v2/organizations/{id}/

Make a DELETE request to this resource to delete this organization.

Request

Supported Media Types
Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

204 Response

401 Response

Body
Example Response (application/json)
{
    "detail":"Authentication credentials were not provided. To establish a login session, visit /api/login/."
}

403 Response

Body
Example Response (application/json)
{
    "detail":"You do not have permission to perform this action."
}

409 Response

Body
Example Response (application/json)
{
    "active_jobs":[
        {
            "id":1,
            "type":"job"
        },
        {
            "id":2,
            "type":"job"
        },
        {
            "id":3,
            "type":"project_update"
        },
        {
            "id":4,
            "type":"project_update"
        }
    ],
    "error":"Resource is being used by running jobs."
}
Back to Top