Trust Centers

Create a compliance badge

POST
/organizations/{organizationId}/projects/{projectId}/badges

Creates a new compliance badge for a trust center.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Formatuuid
projectId*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

application/json

application/json

application/json

curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/badges" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "framework": "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}