Use this endpoint to delete a list of existing Codes. Use with caution as this this action is irreversible.

Codes can only be deleted if they are not applied to any Entity in any context in which the Code exists. NB: you may not have access to every context in which the Code exists.

The endpoint responds with HTTP Status Code 200 OK and an array of results, one for each code deleted or attempted. Each object will contain the ID of the Code, if successfully updated, and any warning or error messages for that Code.

delete/codes

Request

  • Base URL
    https://api.securevan.com/v4
  • URL
    https://api.securevan.com/v4/codes
  • Auth
    HTTP basic

Request body

codeIdsinteger[]

Accepts a comma-separated array of codeIds

Response

200

1020112string

Example response

[
  {
    "1020112": "This code does not exist or you do not have access to it"
  }
]

Changes