Apis::V4::Organization API

create a new organization

Parameters

Name Description
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 organization
fields A comma separated list of fields to return in the response for the given type. A resource object's attributes and its relationships are collectively called its 'fields'. Clients may restrict the set of fields in order to improve performance. Multiple types can be specified. If no fields param is specified then by default all fields are returned. Example

Request

Headers

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

Route

POST /apis/v4/organizations

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.eyJ1c2VyX2lkIjoxMTMsImV4cCI6MTc5NDcxMjgzNSwiaWF0IjoxNzk0NTQwMDM1fQ.gV0iQ8Na6km6XmmTt98h--_ceYjVNNons69hRD-DJGA
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"556f0a5c160386b9121bf9ff88de27d5"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: eb49f105-9071-42d4-b137-ccf0295f9f20
X-Runtime: 0.076429
Content-Length: 413

Status

201

Body