Revoke a Realm API operation's approval
POST
/api/v1/handlers/realms/{realmName}/api-approvals/{operation}/revoke
const url = 'http://localhost:11044/api/v1/handlers/realms/example/api-approvals/example/revoke';const options = {method: 'POST', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:11044/api/v1/handlers/realms/example/api-approvals/example/revoke \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'JSON fields: installationId, expectedRevision, and operation when the path does not name one. A key holding a slash goes in the body: an encoded slash never reaches a route.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”realmName
required
string
Name of the admitted Realm
operation
required
string
The operation’s key or call name, when the body does not name it
Responses
Section titled “Responses”The approvals as they now stand
Media type*/*

