Skip to Content
Pouch
Admin organizations

Remove a member from an organization

DELETE
/v1/admin/organizations/{id}/members/{userId}

Auth: Admin key.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

userId*string

An opaque, type-prefixed id.

Response Body

Confirms the removal. Removes the membership only. The account stays, and the organization keys it created keep sending — rotate them if the person isn't trusted.

application/json
  1. response
user_id?string

The account removed from the organization.

organization_id?string

The organization.

removed?boolean

Always true. The account and the keys it created are untouched.

Example Request
curl -X DELETE 'https://pouch.example.com/v1/admin/organizations/string/members/string'
Example Response
{  "user_id": "string",  "organization_id": "string",  "removed": true}