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.eyJ1c2VyX2lkIjoxNjgsImV4cCI6MTcwNDQ3MzIzNCwiaWF0IjoxNzA0NDczMDU0fQ.Y1ekNKDxb424rjz6GDjl6-qTLflleGKZy-14Vsj3wDA
Host: example.org
Cookie: 

Route

PUT /apis/v4/organizations/119/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.eyJ1c2VyX2lkIjoxNjgsImV4cCI6MTcwNDY0NTg1NCwiaWF0IjoxNzA0NDczMDU0fQ.CNB2NWvwG0cNxsZfekgQoFTI0D3twwgk2Hy5yVh0aF8
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"a6eab6bf62f41acc9a3b9882613b5c57"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 3ebb31bb-c7bd-4f20-af58-bc1a5c533d31
X-Runtime: 0.030163
Content-Length: 440

Status

200

Body