Skip to main content
POST
Delete, enable or disable Shortlinks in bulk

Authorizations

X-API-Key
string
header
required

Your API key, for example dlk_live_.... Create one in the dashboard under Settings → API Keys. Keys are shown once at creation and stored only as a hash, so they cannot be recovered.

Body

application/x-www-form-urlencoded
action
string
required

The bulk action to apply: delete, disable or enable. On delete_domain, controls how the domain is removed.

docnames
string
required

The documents to act on in a bulk edit: a list of shortlink ids (or objects).

Response

Success.

data
object

The result of a bulk operation. Deletion is bulk-only, so this is also what you get back when deleting a single resource.