Delete accreditor

Deletes an accreditor from specified user's profile.

Request

  • HTTP Verb: DELETE
  • URI: /user/{user_id}/accreditor/{id}

Query Parameters

  • user_id: user identifier. It could be either user id, user email or custom member_id.
  • id: accreditor id.

Request example

curl -X DELETE \
     -H "Request-Time: Wed, 11 Dec 2013 15:38:32 +0000" \
     -H "Api-Key: 78b47a40f93378a6a487919edea6e92c" \
     -H "Signature: ed5edf8f4a1b01bf69c7cbdf6951692192e621fd79562afb9b168e7d47ec0048" \
     http://wceaapi.org/v1.1/user/adrian.perez@wcea.education/accreditor/1

Output Example

{
  "_meta": {
   ...
  },
  "records": {
    "id": 1,
    "name": "Accreditation board of Pharmacists",
    "abbreviation": "ABP",
    "user_fields": {
      "Date of birth": {
        "type": "date",
        "default_value": "",
        "required": true,
        "user_value": "01 January 1988",
      }
    }
  }
}