Apis::V4::OrganizationalPermissions API

create a new organizational_permission

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 be serialized to create the organizational_permission
data[attributes][community_code] The community code of the organization you want to join. Can be omitted if passing community_url String
data[attributes][community_url] The community url of the organization you want to join. Can be omitted if passing community_code String

Request

Headers

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

Route

POST /apis/v4/organizational_permissions

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
Content-Type: application/vnd.api+json
Vary: Accept
X-MH-Session: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMTcsImV4cCI6MTcwNDY0NTg0OSwiaWF0IjoxNzA0NDczMDQ5fQ.Al1KL-Vd42lcFwC9nLbygvuNQSehkHiBTdlav8kW-Gk
Access-Control-Expose-Headers: X-MH-Session
Cache-Control: no-cache
X-Request-Id: a2811645-7d8c-45de-b38b-6dfc4608c4ae
X-Runtime: 0.016332

Status

201