member-classes

Update member class

Changed on

CS Administrator updates a member class description.

patch/member-classes/{code}

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/member-classes/{code}
  • Auth: API key in header Authorization

Request body

descriptionstring text required

member class description

Example request

{
  "description": "Non-profit organisations"
}

Response

updated member class

descriptionstring text required

member class description

Example response

{
  "description": "Non-profit organisations"
}

Changes

    • ▲

      added the pattern ^[a-zA-Z0-9-_,.;:!? ]*$ to the request property

    • ○

      the //// response's property pattern ^[a-zA-Z0-9-_,.;:!? ]*$ was added for the status

    • ○

      the response's property pattern ^\s*((?!\s*(?:\.$|\./|\.\.$|\.\./))((?!/\.\s*$|/\./|/\.\.\s*$|/\.\./)[^\\\u0000-\u001F\u007F-\u009F\u200B\uFEFF])*)?$ was removed for the status