Subjects

Update a subject

patch/subjects/{subjectId}

Request

  • Base URL
    https://api-staging.fanheroapi.com
  • URL
    https://api-staging.fanheroapi.com/subjects/{subjectId}
  • Auth
    API key in header apiKey

Request body

entitystring

Entity identified by this subject

fieldsstring[]

Fields

Example request

{
  "entity": "accountstatuses",
  "fields": [
    "all"
  ]
}

Response

Subject updated

idstring

Subject ID

fieldsstring[]

Fields

entitystring

Entity identified by this subject

Example response

{
  "id": "896632c05f1a59b6d395b963",
  "fields": [
    "name",
    "address"
  ],
  "entity": "accountstatuses"
}

Changes

No recorded changes to this operation across all 1 revision of this API.