Apis::V4::Organizations::CommunityOwner API

transfer ownership of an organization

Parameters

Name Description type
access_token JSON Web Token retrieved from the Sessions endpoint (you can also passthis into the Authorization header)
data The payload data that will contain the new owner
data[attributes][person_id] The ID of the person you want to set as the new owner String

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxNzMsImV4cCI6MTcwNDQ3MzIzNSwiaWF0IjoxNzA0NDczMDU1fQ.EAas3caChp2U9Q6w--wBsTFSk2yGlnPzaERtP4acPvA
Host: example.org
Cookie: 

Route

PUT /apis/v4/organizations/125/community_owner

Body

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
X-MH-Session: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxNzMsImV4cCI6MTcwNDY0NTg1NSwiaWF0IjoxNzA0NDczMDU1fQ.VWNaFKmb2rCt9Ep8wQTpZwi-YqD3BMmrmFoeso4yL5s
Access-Control-Expose-Headers: X-MH-Session
Cache-Control: no-cache
X-Request-Id: 0a63e334-b930-4be3-834e-9c9ecb3b8972
X-Runtime: 0.068416

Status

204