aggregator-approvals
Approve or reject a pending aggregator
POST
/admin/v1/aggregator-registrations/decision/{id}
const url = 'https://aggregator.example.com/admin/v1/aggregator-registrations/decision/example';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://aggregator.example.com/admin/v1/aggregator-registrations/decision/exampleRecords the admin decision (approve/reject) for the registration id. On approve, enables the disabled Keycloak user and confirms the signalstack push. This is a browser form flow: every response (200 result page, 400 invalid token/body, 404 unknown aggregator, 503 backing service down) is a text/html page, so neither a body schema nor JSON response schemas are declared — the handler validates the form body itself (token, decision approve|reject, optional reason) and renders an HTML error page on failure. Body shape: { token: string, decision: “approve” | “reject”, reason?: string }.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Default Response

