Approve an exact captured browser app at the expected authority revision
POST
/api/v1/realm-browser/{realm}/approvals/{name}/grant
const url = 'http://localhost:11044/api/v1/realm-browser/example/approvals/example/grant';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/grant \ --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 is approved; 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 already approved 409
Responses
Section titled “Responses”OK
Media type*/*

