Synq Docs
Management APIChange requests

Approve a change request

Makes the change as the person who asked, through the same route as the change itself (`PATCH …/apps/{app}`, recorded as `app.updated`), from the dashboard's app only, by that person only, within 15 minutes. Needs `org.apps.edit`. Recorded as `change_request.approved`.

POST/v1/orgs/{org}/change-requests/{request}/approve

Makes the change as the person who asked, through the same route as the change itself (PATCH …/apps/{app}, recorded as app.updated), from the dashboard's app only, by that person only, within 15 minutes. Needs org.apps.edit. Recorded as change_request.approved.

Authorization

bearer
AuthorizationBearer <token>

An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.

In: header

Path Parameters

org*string
request*string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/orgs/string/change-requests/string/approve"
{  "id": "string",  "kind": "app.redirect_uris",  "target": {    "brand": "string",    "app": "string"  },  "change": {    "redirect_uris": [      "string"    ]  },  "status": "pending",  "asked_from": "string",  "approve_url": "string",  "expires_at": "2019-08-24T14:15:22Z",  "decided_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z"}