cURL
curl --request POST \ --url https://api.bedrock.orinlabs.org/api/products/api-keys/ \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "product": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "is_active": true } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "key": "<string>", "created_at": "2023-11-07T05:31:56Z", "name": "<string>", "product": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "is_active": true }
Token-based authentication with required prefix "Token"
API key serializer for product-level API keys.
255
Only show full key on creation. After that, show masked version.