Skip to main content

SetOwner changes the account owner. Updates the SpiceDB owner relation, removing the previous owner's exclusive rights and granting them to the new owner.

POST 

/api/v1/crm/accounts/:id:set-owner

Errors:

  • NOT_FOUND: account does not exist.
  • PERMISSION_DENIED: caller lacks admin access.

Request

Responses

A successful response.