Revoke an exact captured browser app at the expected authority revision
POST
/api/v1/realm-browser/{realm}/approvals/{name}/revoke
const url = 'http://localhost:11044/api/v1/realm-browser/example/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/realm-browser/example/approvals/example/revoke \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”realm
required
string
Name of the admitted realm whose app approval is withdrawn; the body’s installationId and expectedRevision (a positive integer) must name its current installation, or the change answers 409
name
required
string
Exact name of one of the realm’s captured browser apps, as the approvals list returns it; an unknown name answers 403, and an app not currently approved 409
Responses
Section titled “Responses”OK
Media type*/*

