Skip to content

POST   /accounts/{accountId}/users/{userId}

Add a user to an account

Adds a user to 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 add to the account

Request Body

{}

Try it out

Loading...

Output:

Responses

Description

User successfully added to 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