Environments-4
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
DELETE | |
GET | |
POST | |
DELETE | |
POST | |
GET | |
PATCH | |
DELETE | |
PATCH |
Delete environments dashboards collaborators
Required API key scopes
dashboard:write
Path parameters
- dashboard_idinteger
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
- user__uuidstring
Example request
DELETE
/api /environments /:project_id /dashboards /:dashboard_id /collaborators /:user__uuid
Example response
Status 204 No response body
Delete environments dashboards collaborators
Required API key scopes
dashboard:write
Path parameters
- dashboard_idinteger
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
- user__uuidstring
Example request
DELETE
/api /environments /:project_id /dashboards /:dashboard_id /collaborators /:user__uuid
Example response
Status 204 No response body
List all environments dashboards sharing
Required API key scopes
sharing_configuration:read
Path parameters
- dashboard_idinteger
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
GET
/api /environments /:project_id /dashboards /:dashboard_id /sharing
Example response
Status 200
List all environments dashboards sharing
Required API key scopes
sharing_configuration:read
Path parameters
- dashboard_idinteger
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
GET
/api /environments /:project_id /dashboards /:dashboard_id /sharing
Example response
Status 200
Create environments dashboards sharing passwords
Create a new password for the sharing configuration.
Required API key scopes
sharing_configuration:write
Path parameters
- dashboard_idinteger
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- enabledboolean
- settings
- password_requiredboolean
Response
Example request
POST
/api /environments /:project_id /dashboards /:dashboard_id /sharing /passwords
Example response
Status 200
Create environments dashboards sharing passwords
Create a new password for the sharing configuration.
Required API key scopes
sharing_configuration:write
Path parameters
- dashboard_idinteger
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- enabledboolean
- settings
- password_requiredboolean
Response
Example request
POST
/api /environments /:project_id /dashboards /:dashboard_id /sharing /passwords
Example response
Status 200
Delete environments dashboards sharing passwords
Delete a password from the sharing configuration.
Required API key scopes
sharing_configuration:write
Path parameters
- dashboard_idinteger
- password_idstring
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
DELETE
/api /environments /:project_id /dashboards /:dashboard_id /sharing /passwords /:password_id
Example response
Status 204 No response body
Delete environments dashboards sharing passwords
Delete a password from the sharing configuration.
Required API key scopes
sharing_configuration:write
Path parameters
- dashboard_idinteger
- password_idstring
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
DELETE
/api /environments /:project_id /dashboards /:dashboard_id /sharing /passwords /:password_id
Example response
Status 204 No response body
Create environments dashboards sharing refresh
Required API key scopes
sharing_configuration:write
Path parameters
- dashboard_idinteger
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- enabledboolean
- settings
- password_requiredboolean
Response
Example request
POST
/api /environments /:project_id /dashboards /:dashboard_id /sharing /refresh
Example response
Status 200
Create environments dashboards sharing refresh
Required API key scopes
sharing_configuration:write
Path parameters
- dashboard_idinteger
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- enabledboolean
- settings
- password_requiredboolean
Response
Example request
POST
/api /environments /:project_id /dashboards /:dashboard_id /sharing /refresh
Example response
Status 200
Retrieve environments dashboards
Required API key scopes
dashboard:read
Path parameters
- idinteger
A unique integer value identifying this dashboard.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- formatstringOne of:
"json"
"txt"
Response
Example request
GET
/api /environments /:project_id /dashboards /:id
Example response
Status 200
Retrieve environments dashboards
Required API key scopes
dashboard:read
Path parameters
- idinteger
A unique integer value identifying this dashboard.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- formatstringOne of:
"json"
"txt"
Response
Example request
GET
/api /environments /:project_id /dashboards /:id
Example response
Status 200
Update environments dashboards
Required API key scopes
dashboard:write
Path parameters
- idinteger
A unique integer value identifying this dashboard.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- formatstringOne of:
"json"
"txt"
Request parameters
- namestring
- descriptionstring
- pinnedboolean
- last_accessed_atstring
- deletedboolean
- breakdown_colors
- data_color_theme_idinteger
- tagsarray
- restriction_level
- last_refreshstring
- use_templatestring
- use_dashboardinteger
- delete_insightsbooleanDefault:
false
- _create_in_folderstring
Response
Example request
PATCH
/api /environments /:project_id /dashboards /:id
Example response
Status 200
Update environments dashboards
Required API key scopes
dashboard:write
Path parameters
- idinteger
A unique integer value identifying this dashboard.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- formatstringOne of:
"json"
"txt"
Request parameters
- namestring
- descriptionstring
- pinnedboolean
- last_accessed_atstring
- deletedboolean
- breakdown_colors
- data_color_theme_idinteger
- tagsarray
- restriction_level
- last_refreshstring
- use_templatestring
- use_dashboardinteger
- delete_insightsbooleanDefault:
false
- _create_in_folderstring
Response
Example request
PATCH
/api /environments /:project_id /dashboards /:id
Example response
Status 200
Delete environments dashboards
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
dashboard:write
Path parameters
- idinteger
A unique integer value identifying this dashboard.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- formatstringOne of:
"json"
"txt"
Example request
DELETE
/api /environments /:project_id /dashboards /:id
Example response
Status 405 No response body
Delete environments dashboards
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
dashboard:write
Path parameters
- idinteger
A unique integer value identifying this dashboard.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- formatstringOne of:
"json"
"txt"
Example request
DELETE
/api /environments /:project_id /dashboards /:id
Example response
Status 405 No response body
Update environments dashboards move tile
Path parameters
- idinteger
A unique integer value identifying this dashboard.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- formatstringOne of:
"json"
"txt"
Request parameters
- namestring
- descriptionstring
- pinnedboolean
- last_accessed_atstring
- deletedboolean
- breakdown_colors
- data_color_theme_idinteger
- tagsarray
- restriction_level
- last_refreshstring
- use_templatestring
- use_dashboardinteger
- delete_insightsbooleanDefault:
false
- _create_in_folderstring
Example request
PATCH
/api /environments /:project_id /dashboards /:id /move_tile
Example response
Status 200 No response body
Update environments dashboards move tile
Path parameters
- idinteger
A unique integer value identifying this dashboard.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- formatstringOne of:
"json"
"txt"
Request parameters
- namestring
- descriptionstring
- pinnedboolean
- last_accessed_atstring
- deletedboolean
- breakdown_colors
- data_color_theme_idinteger
- tagsarray
- restriction_level
- last_refreshstring
- use_templatestring
- use_dashboardinteger
- delete_insightsbooleanDefault:
false
- _create_in_folderstring
Example request
PATCH
/api /environments /:project_id /dashboards /:id /move_tile