DELETE affiliations/:id
The following macros are not currently supported in the header:
  • style

DELETE affiliations/:id

The following endpoint deactivates an affiliation.

Resource URL 

DELETE /affiliations/:id ANY /affiliations/:id?_method=delete

This endpoint does NOT remove the affiliation from the deployment, it merely makes it inactive. Thus, it is equivalent to updating a affiliation's standing to inactive. To remove an affiliation the user must log into the web application.

Sample Response

DELETE /affiliations/1.json ANY /affiliations/1.json?_method=delete
{ "meta" : { "status" : "ok", "message" : "Everything executed as expected." } }