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.eyJ1c2VyX2lkIjo2NywiZXhwIjoxNzU0NTk2NDc5LCJpYXQiOjE3NTQ1OTYyOTl9.Nlb4kxn7V0cVMxJDgjxXlcp8L3zTc2D3N3GNJd_MYmU
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.eyJ1c2VyX2lkIjo2NywiZXhwIjoxNzU0NzY5MDk5LCJpYXQiOjE3NTQ1OTYyOTl9.PhzdBe_YytJ6IQlGjFyP_Lz1yYw88KDUJGNaH7DeUgg
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"f6541c2f14b5a2b189d53b449678a05a"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 4df5ddfb-efb8-4b9d-8ea1-b47ea324c8b7
X-Runtime: 0.048686
Content-Length: 135

Status

200

Body