Skip to Content
Vatis TechAPI docs
Vocabularies

Delete a vocabulary

Deletes a saved vocabulary: open sessions keep its entries until they end, and a new session that names it is refused.

Serverhttps://api.eu.vatis.tech

DELETE/v1/vocabularies/{id}

Admin key only

A Member key gets 403 admin_only. Roles: Authentication and API keys.

Path parameters

id (required)
The vocabulary.
Valuesa vocabulary id, voc_...

Headers

Authorization (required)
An Admin key (Roles). A Member key gets 403 admin_only.
ValuesBearer <api key>

Responses

204

Deleted. The answer has no body.

400 invalid_parameter

A query parameter: this endpoint takes none (Strict parameters).

No key, or a wrong, revoked or expired one.

403 admin_only

A Member key.

No vocabulary of your workspace has that id.

503 unavailable

The service is busy for a moment. Send the request again after the seconds of the Retry-After header.

Notes

  • A new session or file that names a deleted vocabulary is refused: invalid_parameter, param vocabulary_id. A job accepted before the delete keeps its entries. Its name is free again.