curl --request PUT \
--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"
]
}
}Update workspace secrets
curl --request PUT \
--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"
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Workspace id
Show child attributes
Show child attributes
Show child attributes
Success Response
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?