Apps

Update one of my apps

Rename, change allowed origins, or disable the app. Owners only.

PATCH
/apps/{id}

Rename, change allowed origins, or disable the app. Owners only.

Authorization

cookieAuth
pid_access<token>

JWT access token set by /auth/google/callback or /auth/refresh

In: cookie

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "clientId": "pidapp_0123456789abcdef0123456789abcdef",  "ownerId": "string",  "name": "string",  "allowedOrigins": [    "string"  ],  "isActive": true,  "clientSecretPrefix": "string",  "clientSecretCreatedAt": "2019-08-24T14:15:22Z",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}