Update an api key
curl --request PUT \ --url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/security/apikeys/{apiKey} \ --header 'Content-Type: application/json' \ --header 'X-Prismeai-API-Key: <api-key>' \ --data '{ "name": "<string>", "rules": [ { "role": [ "<string>" ], "inverted": true, "reason": "<string>", "action": "manage", "subject": "apps", "conditions": {}, "priority": 123 } ] }'
{ "name": "<string>", "apiKey": "<string>", "subjectType": "<string>", "subjectId": "<string>", "rules": [ { "role": [ "<string>" ], "inverted": true, "reason": "<string>", "action": "manage", "subject": "apps", "conditions": {}, "priority": 123 } ], "disabled": true }
Workspace id
The target api key
Success Response
The response is of type object.
object
Was this page helpful?