Organization

Removes 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 URL
    https://api.factory.ai
  • Auth
    HTTP 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

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the media type application/json for the response with the status

    28 more changes in this revision