Create Role

posthttps://statsigapi.net/console/v1/roles

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Body

application/json
namestringrequired

The name of the role.

permissionsobjectrequired

The permissions of the role.

Show child attributes
invitation_accessboolean
create_configsboolean
edit_or_delete_configsboolean
delete_configsboolean
launch_to_productionboolean
launch_or_disable_configsboolean
start_experimentsboolean
create_or_edit_templatesboolean
create_or_edit_dashboardsboolean
create_teamsboolean
edit_dynamic_config_schemasboolean
create_release_pipelinesboolean
approve_required_review_release_pipeline_phaseboolean
self_approve_reviewboolean
approve_reviewsboolean
bypass_reviews_for_overridesboolean
bypass_precommit_webhookboolean
metric_managementboolean
event_dimensions_accessboolean
verify_metricsboolean
use_metrics_explorerboolean
local_metricsboolean
manage_alertsboolean
integrations_edit_accessboolean
source_connection_and_creationboolean
whn_connectionboolean
data_warehouse_ingestion_and_exports_edit_accessboolean
edit_and_tag_configs_with_core_tagboolean
reset_experimentsboolean
manual_whn_reloadboolean

Response

application/json
201· Create Role Response
messagestringrequired

A simple string explaining the result of the operation.

dataobjectrequired
Show child attributes
namestringrequired

The name of the role.

permissionsobjectrequired

The permissions of the role.

invitation_accessboolean
create_configsboolean
edit_or_delete_configsboolean
delete_configsboolean
launch_to_productionboolean
launch_or_disable_configsboolean
start_experimentsboolean
create_or_edit_templatesboolean
create_or_edit_dashboardsboolean
create_teamsboolean
edit_dynamic_config_schemasboolean
create_release_pipelinesboolean
approve_required_review_release_pipeline_phaseboolean
self_approve_reviewboolean
approve_reviewsboolean
bypass_reviews_for_overridesboolean
bypass_precommit_webhookboolean
metric_managementboolean
event_dimensions_accessboolean
verify_metricsboolean
use_metrics_explorerboolean
local_metricsboolean
manage_alertsboolean
integrations_edit_accessboolean
source_connection_and_creationboolean
whn_connectionboolean
data_warehouse_ingestion_and_exports_edit_accessboolean
edit_and_tag_configs_with_core_tagboolean
reset_experimentsboolean
manual_whn_reloadboolean
400· Invalid request. Please check the request input and try again.
statusintegerrequired
Allowed values:400
messagestringrequired
401· This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx
statusintegerrequired
Allowed values:401
messagestringrequired

Was this helpful?