Delete own vendor credential
Revoke one of your own API credentials.
Credentials
DELETE
/api/v1/credentials/{id}Permanently revokes (hard-deletes) one of your own API credentials. A credential belonging to another vendor is reported as 404. Requires the Account capability.
Path parameters
idstring (uuid)RequiredThe credential id.
Response
deletedbooleanOther responses
401No bearer token (UNAUTHORIZED_MISSING_TOKEN), an invalid token (UNAUTHORIZED_INVALID_TOKEN) or an expired one (UNAUTHORIZED_TOKEN_EXPIRED — mint a new token). UPSTREAM_AUTH_FAILED is different: a dependent service refused the Gateway itself. That is a server-side fault — retry later and do NOT re-mint your token. See the Rate limits & errors guide.403Your token doesn’t carry the capability this endpoint requires.404Unknown credential id, or one belonging to another vendor.429Too many requests. Retry after the Retry-After header (seconds).502A dependent service returned an invalid response (BAD_GATEWAY). Retry with backoff.503The service is temporarily unavailable (SERVICE_UNAVAILABLE). Retry with backoff.504A dependent service did not respond in time (GATEWAY_TIMEOUT). Retry with backoff.curl --request DELETE \ --url https://api-omni-vendors.linra.net/api/v1/credentials/5b1e3a1c-9d2e-4f3a-8b1c-9f0a2e3d4c5b \ --header 'Authorization: Bearer $TOKEN'const res = await fetch('https://api-omni-vendors.linra.net/api/v1/credentials/5b1e3a1c-9d2e-4f3a-8b1c-9f0a2e3d4c5b', { method: 'DELETE', headers: { Authorization: `Bearer ${token}`, },});const { payload } = await res.json();var response = await httpClient.DeleteAsync("https://api-omni-vendors.linra.net/api/v1/credentials/5b1e3a1c-9d2e-4f3a-8b1c-9f0a2e3d4c5b");
var envelope = await response.Content.ReadFromJsonAsync<ApiResponse<object>>();Response
{ "state": "SUCCESS", "payload": { "deleted": true }, "details": null}
