Api referenceStorageContexts
Create a context
Create a context
Create a context
AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v2/storage/contexts" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "description": "string", "mimeTypes": [ "string" ], "maxSize": 0, "urlExpiration": 0, "code": "lecture-attachment", "isPublic": true, "isGlobal": true, "isBillable": true }'{}