v1

latestOpenAPI 3.1.02026-07-261344388.3 KB
User

Transfer ownership

Transfers the ownership of organisation to given user.

post/api/users/{userId}/transfer-ownership

Path parameters

userIdstring uuid required

Unique identifier of the user to transfer ownership to

Response

The previous owner user (now demoted to admin)

idstring uuid required

Unique identifier of the user

emailstring email required

Email address of the user

firstNamestring nullable

First name of the user

lastNamestring nullable

Last name of the user

type'invited' | 'member' | 'author' | 'admin' | 'owner' required

User type/role within the organisation

status'active' | 'disabled' | 'locked' required

Current status of the user account

isServiceboolean

Whether this is a service account

createdAtstring required

Timestamp when the user was created

updatedAtstring required

Timestamp when the user was last updated