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.eyJ1c2VyX2lkIjoyMzEsImV4cCI6MTc5NDU0MDIzMCwiaWF0IjoxNzk0NTQwMDUwfQ.gPSXdhVCTvHcu6nATeqUUDvzFlkw6cX1aqMY2nUP66Q
Host: example.org
Cookie: 

Route

PUT /apis/v4/organizations/150/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.eyJ1c2VyX2lkIjoyMzEsImV4cCI6MTc5NDcxMjg1MCwiaWF0IjoxNzk0NTQwMDUwfQ.0NZ7DFqgrF9qDQmE8ZF61U5VO9UR-xmEz3vc3Zv9YDA
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"a1ad46d46ae608101bc06d16fcb0c645"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 64f6075c-7063-4633-a9ab-e9e4a74a2f4c
X-Runtime: 0.055936
Content-Length: 440

Status

200

Body