API referenceWorkspaces

PATCH /workspaces/{workspaceId}/access-grants/{grantId}

PATCH
/workspaces/{workspaceId}/access-grants/{grantId}

Path Parameters

workspaceId*string
grantId*string
Lengthlength <= 80

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X PATCH "https://example.com/workspaces/string/access-grants/string" \  -H "Content-Type: application/json" \  -d '{    "values": [      "string"    ]  }'
{  "$schema": "https://example.com/schemas/ActivityGrant.json",  "createdAt": "2019-08-24T14:15:22Z",  "createdBy": "string",  "id": "string",  "key": "string",  "principalId": "string",  "principalType": "user",  "updatedAt": "2019-08-24T14:15:22Z",  "values": [    "string"  ],  "workspaceId": "string"}