Apis::V4::Organizations::CommunityCode API

generate a code for an organization

Parameters

Name Description
access_token JSON Web Token retrieved from the Sessions endpoint (you can also passthis into the Authorization header)

Request

Headers

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

Route

PUT /apis/v4/organizations/103/community_code

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
Content-Type: application/vnd.api+json
Vary: Accept
X-MH-Session: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMjIsImV4cCI6MTc1NDc2OTEwMiwiaWF0IjoxNzU0NTk2MzAyfQ.IkHfnVVvgLRihZv77IaygGlqPigayaewChEGXIzZhKQ
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"d2e5abdee299f69ccafc0808af4b884b"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 87d48caa-82ab-4c1a-abac-f34a560dfa0f
X-Runtime: 0.023643
Content-Length: 440

Status

200

Body