Skip to main content

Revoke a secret grant.

POST/api/v1/forge-functions/{forge_function_id}/secret-grants/{forge_secret_grant_id}/revokeforge:deploy

Removes one secret grant of the function. Granting is not offered here. Needs Edit Forge Secret Grants, and is refused to external users.

Scopeforge:deploy (sensitive)
AsynchronousNo
MCP toolrevoke_forge_function_secret_grant
Portal permissionsedit_forge_secret_grants

Parameters​

NameInTypeRequiredDescription
forge_function_idpathstringRequired
forge_secret_grant_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
Idempotency-KeyheaderstringOptionalmax 255

Responses​

StatusDescriptionBody
200Success.application/json ForgeSecretGrantRevoked or object
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409idempotency_in_progressapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

ForgeSecretGrantRevoked​

FieldTypeRequiredDescription
forge_function_idstringRequired
forge_secret_grant_idstringRequired
namestringRequired
revokedbooleanRequired