Skip to main content
Versions

Delete a skill version

Delete a specific skill version.

DELETE /api/v1/cloud/skills/{skill_id}/versions/{version} Deletes the specified skill version and returns a deletion confirmation.

Headers

HeaderRequiredDescription
AuthorizationYesBearer <PAT or SAT>

Path parameters

ParameterTypeRequiredDescription
skill_idstringYesSkill unique identifier
versionstringYesVersion identifier. Only numeric timestamps are accepted (same rules as Get a skill version)

Example request

curl -X DELETE "https://api.qoder.com/api/v1/cloud/skills/skill_019e3bba474b73cfaf19eae9b5f5e66d/versions/1759264410332875" \
  -H "Authorization: Bearer $QODER_ACCESS_TOKEN"

Example response

HTTP 200 OK
{
  "id": "1759264410332875",
  "type": "skill_version_deleted"
}
id is the deleted version identifier; successful deletion is signalled by "type": "skill_version_deleted".

Behavior

  • When the latest version is deleted, latest_version falls back to the next-newest version; it becomes null when all versions are deleted.
  • Deleting the same version again returns 404.

Errors

HTTPTypeTrigger
400invalid_request_errorNon-numeric version (including latest)
401TOKEN_INVALIDMissing or invalid authentication token
404not_found_errorSkill does not exist, or the version does not exist / has already been deleted (repeated deletion also returns 404)
See Errors for the full error envelope.