Convert recipient to user
Convert a recipient to a user by adding roles.
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'
In: header
Path Parameters
id*string
The ID of the recipient to convert.
Format
uuidRequest Body
application/json
The conversion details (roles, isActive, sendNotification).
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v2/users/recipients/497f6eca-6276-4993-bfeb-53cbbbba6f08/convert-to-user" \ -H "Content-Type: application/json" \ -d '{ "roles": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } ], "isActive": true, "language": "string" }'"string"