Delete Group
DELETEhttps://api.uber.com/v1/business/organizations/{organization_id}/group
¶ Use Case
The Delete Group endpoint allows you to delete group within an organization.
¶ Authorization
The Delete Group endpoint requires an access_token using the client credentials (for 1P use-case)
grant to business.employees
scope.
If an application follows third party authentication, the get groups 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. |
¶ Query Parameters
Name | Type | Optional | Description |
---|---|---|---|
group_id |
string | No | UUID of the group to be deleted within the organization |
¶ Response Fields
No Response body, only status code will be communicated
¶ Example Request
curl -X DELETE -H "Authorization: Bearer <TOKEN>" \
"https://api.uber.com/v1/business/organizations/<organization_id>/group?group_id={group_id}"
¶ Example Response
Status-Code: 204
¶ Error Responses
HTTP Status | Code | Description |
---|---|---|
400 | BAD_REQUEST |
request specific message |
401 | NOT_AUTHORIZED |
Caller not authorized to make this request |
404 | NOT_FOUND |
Group to delete not found within an organization |
429 | rate_limited |
Rate limit exceeded |
500 | INTERNAL_SERVER_ERROR |
We have experienced a problem |