Apis::V4::Organization API

archive inactive leaders at organization

Parameters

Name Description type
data The payload data that will be serialized to update the organization.
access_token JSON Web Token retrieved from the Sessions endpoint (you can also pass this into the Authorization header)
data[attributes][before_date] Data attributes before date String
data[attributes][archived] false may also be used for a dry run Boolean
data[attributes][archive_date] defaults to current date unless provided String

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMzksImV4cCI6MTcwNDQ3MzIzMiwiaWF0IjoxNzA0NDczMDUyfQ.NBCPxhIIEDMWbA75a8b1f6tkJNgu7BwL4ONUM-5Lb7I
Host: example.org
Cookie: 

Route

POST /apis/v4/organizations/archives

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.eyJ1c2VyX2lkIjoxMzksImV4cCI6MTcwNDY0NTg1MiwiaWF0IjoxNzA0NDczMDUyfQ.Zgi_dWWuqx5Zm-Fzn1HIj1qCWr9F8Iyf5Mxmi4M3Hfw
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"14cbb2cd957f5ba674fb6fb20fb7e9f1"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 666a4f93-66d9-4ec6-b6f4-e7209d0ff986
X-Runtime: 0.070171
Content-Length: 135

Status

200

Body