Decide_consent
POST
Decide this user authorization. Required installation access must be active before approval. Return the browser to redirectTo to complete OAuth.
bearerAuthheader
AuthorizationBearer <token>challenge*stringapplication/json- body
Accept only the listed requested scopes, or reject the authorization.
approve*booleanscopes*array<string>Success
application/json- response
Return the initiating browser to this authorization-server URL to finish consent.
redirectTo*stringcurl -X POST 'https://api.spiraldb.dev/api/apps/consent/string' \ -H 'Content-Type: application/json' \ -d '{ "approve": true, "scopes": [ "string" ]}'{ "redirectTo": "string"}