DELETE/api/aliases/{name}

Retire a named alias

Deactivates the alias; requests naming it are refused. Reversible with rollback. Org admin or the provisioning key.

Authentication: Bearer API key in the Authorization header

Path parameters

  • namestringrequired

    The named alias, as callers send it in model.

Query parameters

  • org_idstringrequired

    Your organization id (uuid). GET /api/whoami returns it.

Responses

  • 204

    Retired.

  • 401

    Missing, unknown or revoked API key.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 403

    The key is not a provisioning key (inference keys are refused, reads included), or it is a customer-plan key.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 404

    Unknown alias.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 422

    Missing org_id.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

Request

curl -X DELETE 'https://api.experientiallabs.ai/api/aliases/coding?org_id=3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

Response

{
  "error": "Unauthorized"
}

https://api.experientiallabs.ai/api/aliases/coding?org_id=3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10