# Application Dashboard Actions Details on the various actions that can be performed on the Application Dashboard resource, including the expected parameters and the potential responses. ##### Contents * [Delete](#delete) * [Get](#get) * [Patch](#patch) * [Send Report](#send-report)
## Delete Deletes a dashboard ```ruby result = client.application_dashboard.delete( dashboardId: my_dashboard_id, applicationId: my_application_id) puts result ``` #### Authentication The client must be configured with a valid api access token to call this action. The token must include at least one of the following scopes: all.Application, all.Organization, all.User, applicationDashboard.*, or applicationDashboard.delete. #### Available Parameters | Name | Type | Required | Description | Default | Example | | ---- | ---- | -------- | ----------- | ------- | ------- | | dashboardId | string | Y | ID of the associated dashboard | | 575ece2b7ae143cd83dc4a9b | | applicationId | string | Y | ID of the associated application | | 575ec8687ae143cd83dc4a97 | | losantdomain | string | N | Domain scope of request (rarely needed) | | example.com | #### Successful Responses | Code | Type | Description | | ---- | ---- | ----------- | | 200 | [Success](_schemas.md#success) | If dashboard was successfully deleted | #### Error Responses | Code | Type | Description | | ---- | ---- | ----------- | | 400 | [Error](_schemas.md#error) | Error if malformed request | | 404 | [Error](_schemas.md#error) | Error if dashboard was not found |
## Get Retrieves information on a dashboard ```ruby result = client.application_dashboard.get( dashboardId: my_dashboard_id, applicationId: my_application_id) puts result ``` #### Authentication The client must be configured with a valid api access token to call this action. The token must include at least one of the following scopes: all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationDashboard.*, or applicationDashboard.get. #### Available Parameters | Name | Type | Required | Description | Default | Example | | ---- | ---- | -------- | ----------- | ------- | ------- | | dashboardId | string | Y | ID of the associated dashboard | | 575ece2b7ae143cd83dc4a9b | | applicationId | string | Y | ID of the associated application | | 575ec8687ae143cd83dc4a97 | | losantdomain | string | N | Domain scope of request (rarely needed) | | example.com | #### Successful Responses | Code | Type | Description | | ---- | ---- | ----------- | | 200 | [Dashboard](_schemas.md#dashboard) | Dashboard information | #### Error Responses | Code | Type | Description | | ---- | ---- | ----------- | | 400 | [Error](_schemas.md#error) | Error if malformed request | | 404 | [Error](_schemas.md#error) | Error if dashboard was not found |
## Patch Updates information about a dashboard ```ruby result = client.application_dashboard.patch( dashboardId: my_dashboard_id, applicationId: my_application_id, dashboard: my_dashboard) puts result ``` #### Authentication The client must be configured with a valid api access token to call this action. The token must include at least one of the following scopes: all.Application, all.Organization, all.User, applicationDashboard.*, or applicationDashboard.patch. #### Available Parameters | Name | Type | Required | Description | Default | Example | | ---- | ---- | -------- | ----------- | ------- | ------- | | dashboardId | string | Y | ID of the associated dashboard | | 575ece2b7ae143cd83dc4a9b | | applicationId | string | Y | ID of the associated application | | 575ec8687ae143cd83dc4a97 | | dashboard | [Dashboard Patch](_schemas.md#dashboard-patch) | Y | Object containing new dashboard properties | | [Dashboard Patch Example](_schemas.md#dashboard-patch-example) | | losantdomain | string | N | Domain scope of request (rarely needed) | | example.com | #### Successful Responses | Code | Type | Description | | ---- | ---- | ----------- | | 200 | [Dashboard](_schemas.md#dashboard) | Update dashboard information | #### Error Responses | Code | Type | Description | | ---- | ---- | ----------- | | 400 | [Error](_schemas.md#error) | Error if malformed request | | 404 | [Error](_schemas.md#error) | Error if dashboard was not found |
## Send Report Sends a snapshot of a dashboard ```ruby result = client.application_dashboard.send_report( dashboardId: my_dashboard_id, applicationId: my_application_id, reportConfig: my_report_config) puts result ``` #### Authentication The client must be configured with a valid api access token to call this action. The token must include at least one of the following scopes: all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationDashboard.*, or applicationDashboard.sendReport. #### Available Parameters | Name | Type | Required | Description | Default | Example | | ---- | ---- | -------- | ----------- | ------- | ------- | | dashboardId | string | Y | ID of the associated dashboard | | 575ece2b7ae143cd83dc4a9b | | applicationId | string | Y | ID of the associated application | | 575ec8687ae143cd83dc4a97 | | reportConfig | [Dashboard Send Report](_schemas.md#dashboard-send-report) | Y | Object containing report options | | [Dashboard Send Report Example](_schemas.md#dashboard-send-report-example) | | losantdomain | string | N | Domain scope of request (rarely needed) | | example.com | #### Successful Responses | Code | Type | Description | | ---- | ---- | ----------- | | 202 | [Job Enqueued API Result](_schemas.md#job-enqueued-api-result) | If dashboard report was enqueued to be sent | #### Error Responses | Code | Type | Description | | ---- | ---- | ----------- | | 400 | [Error](_schemas.md#error) | Error if malformed request | | 404 | [Error](_schemas.md#error) | Error if dashboard was not found |