Skip to main content
PUT
/
members
/
{memberId}
/
delegateOwnership
Delegate ownership of an organization to another admin. If successful, the previous owner becomes an admin.
curl --request PUT \
  --url https://app.dynamicauth.com/api/v0/members/{memberId}/delegateOwnership \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "adminMemberIdToDelegate": "95b11417-f18f-457f-8804-68e361f9164f"
}
'
{
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

memberId
string
required

ID of the membership

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Body

application/json
adminMemberIdToDelegate
string
required
Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Response

successful operation