Aller au contenu

/api/workspaces/{workspaceId}/transfer-ownership

POST
/api/workspaces/{workspaceId}/transfer-ownership
curl --request POST \
--url https://example.com/api/workspaces/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/transfer-ownership \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "targetUserId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "currentPassword": "example" }'
workspaceId
required
string format: uuid
Media type application/json
object
targetUserId
string format: uuid
currentPassword
string
nullable
Example generated
{
"targetUserId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"currentPassword": "example"
}

OK