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.eyJ1c2VyX2lkIjo3LCJleHAiOjE3OTQ1NDAxOTcsImlhdCI6MTc5NDU0MDAxN30.4flyzvwjXMIg4XEbq-atSs6i61LGtYNsrv9_TywVD6Q
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.eyJ1c2VyX2lkIjo3LCJleHAiOjE3OTQ3MTI4MTcsImlhdCI6MTc5NDU0MDAxN30.k8QuUNCQEO6AUWuxWtxdDwCQkgb-Pvr6gswejIt30VM
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"77fa33df496d96cd28e5277fc2dcf847"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 6e6858d7-ecdc-4927-9f31-dc81d3185c4d
X-Runtime: 0.185639
Content-Length: 134

Status

200

Body