Skip to main content
POST
/
scenarios
/
{scenario_id}
/
access
Grant scenario access
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
}

Authorizations

Authorization
string
header
required

API key created in Settings > API.

Format: exec_live_ followed by 40 alphanumeric characters.

Path Parameters

scenario_id
string
required

The scenario ID

Body

application/json
user_email
string<email>
required

Email of the user to grant access to

permission_level
enum<string>
required

Permission level to grant

Available options:
view,
share,
monitor,
edit

Response

Access granted successfully

user_email
string<email>

Email of the user granted access

scenario_id
string

The scenario ID

permission_level
enum<string>

Permission level granted

Available options:
view,
share,
monitor,
edit
granted
boolean

Whether the access was successfully granted