Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
Skip to Content
API ReferenceInferenceModel Imports

Delete a model import credential

Removes a model import credential and its sealed secret. A credential that a running import reads its source with cannot be deleted yet. It answers 204. One a running import reads answers 409 CREDENTIAL_IN_USE; delete it once that import has finished.

Required permission

Requires the importcredential.write permission. See Permissions for the roles and API key permissions that include it.

Command line

The orl CLI wraps this endpoint:

orl imports credential delete <credential-id>
DELETE
/v1/inference/credentials/{credentialId}

Authorization

apiKey
headerAuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).

Path Parameters

credentialId*string

Response Body

Deleted

Example Request
curl -X DELETE 'https://api.openrelay.inc/v1/inference/credentials/string'
Example Response
Empty