Transfer user content and authorizations

PUT
/api/v1/users/{id}/transfer

Transfer content and authorizations from one user to another based on the provided user ID and transfer request.

Authorization

auth ApiKey
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

In: header

X-API-KEY<token>

Internal API key for admin endpoints. Example: "X-API-KEY: {key}"

In: header

Path Parameters

id*string

The ID of the user whose content and authorizations will be transferred.

Formatuuid

Request Body

application/json

The transfer request containing information about the new user and transfer options.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/api/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/transfer" \  -H "Content-Type: application/json" \  -d '{    "newUserId": "7b266355-226c-4b05-8470-1af9c8b05b06",    "transferContent": true,    "transferPermissions": true  }'
"string"