cURL
curl --request POST \ --url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/security/apikeys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "rules": [ { "action": "manage", "subject": "apps", "role": [ "<string>" ], "inverted": true, "reason": "<string>", "conditions": {}, "priority": 123 } ] } '
{ "apiKey": "<string>", "subjectType": "<string>", "subjectId": "<string>", "rules": [ { "action": "manage", "subject": "apps", "role": [ "<string>" ], "inverted": true, "reason": "<string>", "conditions": {}, "priority": 123 } ], "name": "<string>", "disabled": true }
Create an api key
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Workspace id
Show child attributes
Success Response
Was this page helpful?