Skip to content

Revoke one of your own API credentials

DELETE
/api/v1/credentials/{id}
curl --request DELETE \
--url https://api-omni-vendors.linra.net/api/v1/credentials/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Permanently revokes (hard-deletes) one of your own API credentials. A credential belonging to another vendor is reported as 404. Requires the Account capability.

id
required
string format: uuid

The credential id.

Confirmation of deletion.

Media typeapplication/json
object
state
required
string
payload
required
details
object
payload
required
object
deleted
boolean
Example
{
"state": "SUCCESS",
"payload": {
"deleted": true
}
}

Your token doesn’t carry the capability this endpoint requires.

Media typeapplication/json
object
state
required
string
payload
details
object
Examples
ExamplemissingCapability
{
"state": "FORBIDDEN_CAPABILITY_NOT_GRANTED",
"payload": null,
"details": {
"requiredCapability": "Orders"
}
}

Unknown credential id, or one belonging to another vendor.

Media typeapplication/json
object
state
required
string
payload
details
object
Examples
ExamplenotFound
{
"state": "NOT_FOUND_VENDOR_CREDENTIAL",
"payload": null,
"details": {}
}

Too many requests. Retry after the Retry-After header (seconds).

Media typeapplication/json
object
state
required
string
payload
details
object
Example
{
"state": "NOT_FOUND_VENDOR_OFFER"
}
Retry-After
integer

Seconds to wait before retrying.