RyTask docs
REST APIOrgs

Transfer ownership to another member (Owner only) (FR-RBAC-003)

View as MarkdownOpen in ChatGPTOpen in Claude
POST
/orgs/current/transfer-ownership

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/orgs/current/transfer-ownership" \  -H "Content-Type: application/json" \  -d '{    "toUserId": "6b24f439-a350-415b-8542-30ae3827c522"  }'
Empty
{  "code": "string",  "message": "string",  "details": {}}
Empty