diff --git a/.claude/skills/grid-api/references/endpoints.md b/.claude/skills/grid-api/references/endpoints.md index c89f50338..072600a19 100644 --- a/.claude/skills/grid-api/references/endpoints.md +++ b/.claude/skills/grid-api/references/endpoints.md @@ -317,6 +317,7 @@ Drive card lifecycle events in sandbox to test authorization, clearing, and retu | POST | `/stablecoin-provider-accounts` | Link a stablecoin provider account | | GET | `/stablecoin-provider-accounts` | List stablecoin provider account links | | GET | `/stablecoin-provider-accounts/{stablecoinProviderAccountId}` | Get a stablecoin provider account link | +| DELETE | `/stablecoin-provider-accounts/{stablecoinProviderAccountId}` | Revoke a stablecoin provider account link | ## Webhooks diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index efe582848..d2c57cb62 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -11027,6 +11027,35 @@ paths: application/json: schema: $ref: '#/components/schemas/Error500' + delete: + summary: Revoke a stablecoin provider account link + description: Revoke the provider credentials behind a stablecoin provider account link. The stored credential material is cleared and the link's `status` becomes `REVOKED`; the link itself remains readable. Stablecoins registered under a revoked link can no longer mint or burn, and registering a new stablecoin under it is rejected with `STABLECOIN_PROVIDER_ACCOUNT_REVOKED`. Linking the same provider account again reactivates the link with the new credentials. Revoking a link that is already revoked succeeds and changes nothing. + operationId: revokeStablecoinProviderAccount + tags: + - Stablecoins + security: + - BasicAuth: [] + responses: + '204': + description: Stablecoin provider account link revoked + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/Error401' + '404': + description: Stablecoin provider account link not found + content: + application/json: + schema: + $ref: '#/components/schemas/Error404' + '500': + description: Internal service error + content: + application/json: + schema: + $ref: '#/components/schemas/Error500' webhooks: agent-action: post: diff --git a/openapi.yaml b/openapi.yaml index efe582848..d2c57cb62 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -11027,6 +11027,35 @@ paths: application/json: schema: $ref: '#/components/schemas/Error500' + delete: + summary: Revoke a stablecoin provider account link + description: Revoke the provider credentials behind a stablecoin provider account link. The stored credential material is cleared and the link's `status` becomes `REVOKED`; the link itself remains readable. Stablecoins registered under a revoked link can no longer mint or burn, and registering a new stablecoin under it is rejected with `STABLECOIN_PROVIDER_ACCOUNT_REVOKED`. Linking the same provider account again reactivates the link with the new credentials. Revoking a link that is already revoked succeeds and changes nothing. + operationId: revokeStablecoinProviderAccount + tags: + - Stablecoins + security: + - BasicAuth: [] + responses: + '204': + description: Stablecoin provider account link revoked + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/Error401' + '404': + description: Stablecoin provider account link not found + content: + application/json: + schema: + $ref: '#/components/schemas/Error404' + '500': + description: Internal service error + content: + application/json: + schema: + $ref: '#/components/schemas/Error500' webhooks: agent-action: post: diff --git a/openapi/paths/stablecoins/stablecoin-provider-accounts_{stablecoinProviderAccountId}.yaml b/openapi/paths/stablecoins/stablecoin-provider-accounts_{stablecoinProviderAccountId}.yaml index 0b1c32c62..a81773d65 100644 --- a/openapi/paths/stablecoins/stablecoin-provider-accounts_{stablecoinProviderAccountId}.yaml +++ b/openapi/paths/stablecoins/stablecoin-provider-accounts_{stablecoinProviderAccountId}.yaml @@ -38,3 +38,40 @@ get: application/json: schema: $ref: ../../components/schemas/errors/Error500.yaml +delete: + summary: Revoke a stablecoin provider account link + description: >- + Revoke the provider credentials behind a stablecoin provider account + link. The stored credential material is cleared and the link's `status` + becomes `REVOKED`; the link itself remains readable. Stablecoins + registered under a revoked link can no longer mint or burn, and + registering a new stablecoin under it is rejected with + `STABLECOIN_PROVIDER_ACCOUNT_REVOKED`. Linking the same provider account + again reactivates the link with the new credentials. Revoking a link that + is already revoked succeeds and changes nothing. + operationId: revokeStablecoinProviderAccount + tags: + - Stablecoins + security: + - BasicAuth: [] + responses: + '204': + description: Stablecoin provider account link revoked + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: ../../components/schemas/errors/Error401.yaml + '404': + description: Stablecoin provider account link not found + content: + application/json: + schema: + $ref: ../../components/schemas/errors/Error404.yaml + '500': + description: Internal service error + content: + application/json: + schema: + $ref: ../../components/schemas/errors/Error500.yaml