ConsistlyAPI
OAuth applications

Update an OAuth application

PATCH
/oauth_applications/{id}
AuthorizationBearer <token>

Bearer API key in the form sk_live_…, sk_test_…, or pk_live_…. Keys are issued from the Consistly dashboard and carry product-prefixed scopes.

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/oauth_applications/oauth_app_abc..." \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "object": "oauth_application",  "organization": "string",  "name": "string",  "description": "string",  "client_id": "string",  "client_secret_last_four": "string",  "redirect_uris": [    "http://example.com"  ],  "requested_scopes": [    "string"  ],  "status": "active",  "livemode": true,  "metadata": {    "property1": "string",    "property2": "string"  },  "created_by": "string",  "created": "2019-08-24T14:15:22Z",  "updated": "2019-08-24T14:15:22Z"}
{  "error": {}}