Organization
Remove a user
Changed onRemoves a user from the organization by email. Works for both active members (deletes membership) and pending invitations (revokes the invite).
delete/api/v0/organization/users
Request
- Base URLhttps://api.factory.ai
- AuthHTTP bearer
Query parameters
email, string email required
Email address of the user to remove
Headers
X-Factory-Org-Id, string
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Response
Response for status 204
Changes
- info
added the non-success response with the status
- info
- breaking
the response's body type changed from
objectto no type for status - breaking
removed the media type
application/jsonfor the response with the status
28 more changes in this revision
- breaking