---
title: "Revoke a hosted AI credential"
method: POST
path: "/v1/hosted-ai-credentials/{credential_id}/revoke"
---

# Revoke a hosted AI credential

`POST /v1/hosted-ai-credentials/{credential_id}/revoke`

## Request

- Base URL: `https://api.skysay.ai`
- URL: `https://api.skysay.ai/v1/hosted-ai-credentials/{credential_id}/revoke`
- Auth: none declared

Revoked credentials cannot be selected or leased for a call.

## Path parameters

- `credential_id` string, required

## Request body

- object
  - `organization_id` string, required
  - `project_id` string, required

## Response `200`

Revoked credential metadata

---

[API](https://skmtc.dev/skysay/apis/skysay-api.md) · [All operations](https://skmtc.dev/skysay/apis/skysay-api/llms.txt) · [OpenAPI document](https://skmtc.dev/skysay/apis/skysay-api/revisions/148c7e111260?raw)
