Skip to content

DELETE   /accounts/{accountId}/users/{userId}

Remove a user from an account

Removes a user from a specific account. The request must be made by an account admin of the specified account or a Super Admin.

Authentication Required

Authorization: Bearer {token}   header string

This header is required to access this endpoint

Required Parameters

accountId   path string

Unique identifier of the account

userId   path string

ID of the user to remove from the account

Try it out

Loading...

Output:

Responses

Description

User successfully removed from account

{
"message": "string"
}

Route Source Code

Check out the source code for this route entrypoint here: /accounts/[accountId]/users/[userId]/route.ts

Or the swagger.yaml spec this documentation was generated from: /accounts/swagger.yaml