Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

New in 0.2.x

The following endpoint will be released in version 0.2.x (part of the mobile application API update). Please check the version here before attempting to use this endpoint.

Resource URLĀ 

Set an affiliation's status/standing to inactive.

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."
   }
}
  • No labels