Update membership

Description

Updates an existing membership.

Definition

PATCH https://api.hirefire.io/memberships/:id

Parameters

id required   string 
The id of the membership to update 
membership[owner] optional   boolean (false) 
Makes the member an "owner" if true 

Result Format

200 OK

{
  "membership": {
    "id": "2b6be8e8-1b98-4582-864d-85c5711de77e",
    "user_id": "5891b322-aec6-4057-901b-28decb54e5a0",
    "organization_id": "98fdc050-b25f-4ea1-851e-7bc984088df5",
    "owner": true,
    "created_at": "2015-01-01T00:00:00.000Z",
    "updated_at": "2015-01-01T00:00:00.000Z"
  }
}