The following macros are not currently supported in the header:
  • style

DELETE /companies/:id/managers/delete

Resource URL

Create a new company object.

DELETE /companies/:id/managers/delete
ANY /companies/:id/managers/delete?_method=delete

Parameters

Table of allowed parameters.

relationship_idunsigned intRelationship ID to be removed. See GET /companies/:id/managers. Note that manager_id is not used as a manager can have multiple relationships with the same company.

Handling the response

Returns an array of staff member managers for a given company.

Sample Response

DELETE /companies/4/managers/delete
{
    "meta": {
        "status": "ok",
        "more_info": "https://affinitylive.jira.com/wiki/display/APIS/Status+Codes#ok",
        "message": "Everything executed as expected."
    },
    "response": [
        {
            "surname": "Albert",
            "firstname": "Benson",
            "relationship_id": "123",
            "id": "456"
        },
        {
            "relationship_id": "789",
            "firstname": "Carls",
            "id": "101112",
            "surname": "Davidson"
        }
    ]
}