Organizations
Delete an organization
Delete an organization by its ID. Ensure the organization belongs to the store by checking the x-store-id header.
-
Parameters:
id(string, path, required): The ID of the organization.
-
Responses:
204: Organization deleted successfully. No content returned.401: Unauthorized ifx-store-idis not provided.
DELETE
Delete an organization
Previous
Update organization detailsUpdate the organization's name and billing email using its ID. Requires the `x-store-id` header for authentication. The organization must belong to the store.
- **Parameters:**
- `id` (string, path, required): The ID of the organization.
- **Request Body:**
- `organization_name`: New name for the organization.
- `billing_email`: New billing email for the organization.
- **Responses:**
- `200`: Organization details updated successfully.
- `401`: Unauthorized if `x-store-id` is not provided.
- `404`: Organization not found.
Next
Delete an organization