cURL
curl --request POST \ --url https://api.exec.com/rest/v1/scenarios/{scenario_id}/access \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "user_email": "[email protected]", "permission_level": "edit" } '
{ "user_email": "[email protected]", "scenario_id": "s1c2e3n4a5r6", "permission_level": "edit", "granted": true }
Grant a user access to a specific scenario with a specified permission level.
API key created in Settings > API.
Format: exec_live_ followed by 40 alphanumeric characters.
exec_live_
The scenario ID
Email of the user to grant access to
Permission level to grant
view
share
monitor
edit
Access granted successfully
Email of the user granted access
Permission level granted
Whether the access was successfully granted