Skip to content

PATCH   /accounts/{accountId}/users/{userId}

Update user account data

Updates a user's relationship with 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 whose account data to update

Request Body

{}

Try it out

Loading...

Output:

Responses

Description

User account data successfully updated

{
"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