cURL
curl --request PATCH \ --url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/security/secrets \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "openaiApiKey": { "value": "some secret api key" }, "allowedModels": { "value": [ "gpt4", "gpt4o" ] } }'
{ "openaiApiKey": { "value": "some secret api key" }, "allowedModels": { "value": [ "gpt4", "gpt4o" ] } }
Patch workspace secrets
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Workspace id
Success Response
The response is of type object.
object
Was this page helpful?