Updated on 2025-06-27 GMT+08:00

Deleting a Dashboard

Function

This API is used to delete a dashboard.

Calling Method

For details, see Calling APIs.

URI

DELETE /v2/{project_id}/aom/dashboards/{dashboard_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID, which can be obtained from the console or by calling an API. For details, see Obtaining a Project ID.

dashboard_id

Yes

String

Dashboard ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token obtained from IAM. For details, see Obtaining a Token.

Content-Type

Yes

String

Message body type or format. Content type, which is application/json.

Enterprise-Project-Id

No

String

Enterprise project ID. For details, see Obtaining an Enterprise Project ID.

  • To delete the instances in an enterprise project, enter the enterprise project ID.

  • If this parameter is not specified, the instances in enterprise project 0 are deleted by default.

Response Parameters

Status code: 200

OK: The request is successful.

None

Example Requests

Delete the dashboard whose ID is 2439f2c7--43eb--cd1b****8b2e.

https://{Endpoint}/v2/{project_id}/aom/dashboards/2439f2c7-****-43eb-****-cd1b****8b2e

Example Responses

None

Status Codes

Status Code

Description

200

OK: The request is successful.

Error Codes

See Error Codes.