Delete Organization
DELETEhttps://api.uber.com/v1/organizations/{organization_id}¶ Use Case
The Delete Organization endpoint allows you to delete an organization.
¶ Authorization
The Delete Organization endpoint requires an access_token using the client credentials (for 1P use-case) grant to business.organizations scope.
If an application follows third party authentication, the delete organization endpoint requires the client to get authorized using the authorization endpoint
¶ Path Parameters
| Name | Type | Optional | Description |
|---|---|---|---|
organization_id |
string | No | Identifier for your organization. |
¶ Response Fields
Code: 204 Message: No Content
¶ Example Request
curl -X DELETE "https://api.uber.com/v1/organizations/<organization_id>" \
-H "Authorization: Bearer <TOKEN>"
¶ Example Response
If the organization was successfully deleted:
Code: 204 Message: No Content
¶ Error Responses
| HTTP Status | Code | Description |
|---|---|---|
| 400 | BAD_REQUEST |
request specific message |
| 401 | NOT_AUTHORIZED |
Caller not authorized to make this request |
| 500 | INTERNAL_SERVER_ERROR |
We have experienced a problem |