Delete the prompt
DELETE {{baseUrl}}/api/objects/:objectId?type=10
Delete a specific object in a specific project; if you do not specify a project ID, you delete information for the object in all projects. You identify the object with the object ID and object type. You obtain the authorization token needed to execute the request using POST /auth/login; you obtain the project ID using GET /projects. You pass the authorization token and the project ID in the request header. You specify the object ID in the path of the request. You specify the object type as a query parameter; possible values for object type are provided in EnumDSSXMLObjectTypes.
Body
PARAM
Key | Datatype | Required | Description |
type
|
number | (Required) Object type, which corresponds to a value from [EnumDSSXMLObjectTypes](https://lw.microstrategy.com/msdz/msdl/GARelease_Current/docs/ReferenceFiles/reference/com/microstrategy/webapi/EnumDSSXMLObjectTypes.html). Currently, we don't support deletion of object type 32 (Projects/Applications) using this endpoint. 10 is for prompt object type. |
HEADERS
Key | Datatype | Required | Description |
X-MSTR-AuthToken
|
string | (Required) Authorization token | |
X-MSTR-ProjectID
|
string | Project ID |
RESPONSES
status
ENDPOINTS