Trust Centers

Update a compliance badge

PATCH
/organizations/{organizationId}/projects/{projectId}/badges/{badgeId}

Updates a compliance badge using JSON Patch operations.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Formatuuid
projectId*string
Formatuuid
badgeId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

[index: integer]?

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/badges/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '[    {      "op": "add",      "path": "string"    }  ]'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",  "trustCenterId": "f9cf2051-b17e-4a4d-88ed-a991b8a0fb98",  "name": "string",  "framework": "string",  "description": "string",  "iconUrl": "string",  "presetArt": "globe",  "theme": "light",  "certificationStatus": "in_progress",  "certificationStyle": "neutral",  "certificateDocumentId": "fbbdf5c5-4be7-40d8-a90d-a451154efc7f",  "issueDate": "2019-08-24T14:15:22Z",  "expirationDate": "2019-08-24T14:15:22Z",  "sortOrder": 0,  "status": "active",  "dateCreated": 0,  "dateUpdated": 0}