TransferOwnership transfers engagement ownership.
POST/api/v1/engagements/participants/:id/transfer-ownership
Changes the owner of the engagement. The current owner's role is changed to PARTICIPANT, and the new owner gets OWNER role.
Errors
- NOT_FOUND: Participant or new owner not found
- FAILED_PRECONDITION: Participant is not the current owner
- PERMISSION_DENIED: Caller not owner or admin
Request
Responses
- 200
- default
A successful response.
An unexpected error response.