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.eyJ1c2VyX2lkIjoxLCJleHAiOjE3NTQ1OTY0NzIsImlhdCI6MTc1NDU5NjI5Mn0.Jl76yN2z7faqk4wgG_Jvmr_b-5xpdpDBdpy-pjpuznY
Host: example.org
Cookie: 

Route

PUT /apis/v4/organizations/4/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.eyJ1c2VyX2lkIjoxLCJleHAiOjE3NTQ3NjkwOTIsImlhdCI6MTc1NDU5NjI5Mn0.dI_TugqoU289h1JB0S6f_8R96qUzdRDYNMI2f0hUJ4c
Access-Control-Expose-Headers: X-MH-Session
Cache-Control: no-cache
X-Request-Id: 50d8d3aa-55f3-4f29-ab2f-2d04697da25b
X-Runtime: 0.139635

Status

204