SenseCrypt Docs
API ReferenceAdmin Licences

Create Request

POST/v1/admin/licences/requests

File a request for a licensed artifact.

The resource's descriptor decides which binding fields are required; a field it does not declare is refused rather than stored.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/admin/licences/requests" \  -H "Content-Type: application/json" \  -d '{    "resource_key": "string",    "variants": [      "string"    ],    "use_case": "stringstri",    "contact_email": "user@example.com"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "resource_key": "string",  "resource_name": "string",  "variants": [    "string"  ],  "binding_values": {},  "use_case": "string",  "contact_email": "string",  "status": "string",  "decision_reason": "string",  "reviewer_email": "string",  "decided_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}