modelderivative/v2/designdata/{urn}/manifest
Deletes the manifest of the specified source design. It also deletes all derivatives (translated output files) generated from the source design. However, it does not delete the source design.
Note: This operation is idempotent. If you call it multiple times, even when no manifest exists, it will still return a successful response (200).
Resource Information
| Method and URI | DELETE https://developer.api.autodesk.com/modelderivative/v2/designdata/{urn}/manifest |
| Authentication Context | User context optional |
| Required OAuth Scopes | data:write data:read |
| Data Format | JSON |
Request
Headers
| Authorization* string | Must be Bearer <token>, where <token> is a two-legged access token obtained via a Client Credentials Grant flow, or a three-legged access token obtained via an Authorization Code flow or a Secure Service Account (SSA) flow.
The SSA flow is designed for headless server-to-server operations. While it functions like a two-legged flow (no user interaction), it is classified as three-legged because it preserves user context. |
| region string | Specifies the data center where the manifest and derivatives of the specified source design are stored. Possible values are:
|
Request
URI Parameters
| urn string | The URL-safe Base64 encoded URN of the source design. This value is used as the urn URI parameter in operations to access data for this source design. |
Response
HTTP Status Code Summary
| 200 OK | The manifest was successfully deleted. |
| 400 Bad Request | The server was unable to process the request. The syntax of the request is malformed or the request is missing a required header. Do not repeat the request without fixing the issue. The response body may indicate what is wrong with the request. |
| 401 Unauthorized | The supplied authorization header was not valid or the supplied token scope was not acceptable. Verify authentication and try again. |
| 403 Forbidden | The request was successfully validated but lacking the required permissions. Verify your credentials and permissions before you send this request again. |
| 404 Not Found | The requested resource was not found. Review the request and try again. |
| 500 Internal Server Error | An unexpected error occurred on the server, preventing it from completing your request. Please try again later. If the issue persists, contact the support team for assistance. |
Response
Header (200)
| x-ads-app-identifier string | The service identifier. Comprises of the service name, version, and environment. |
| x-ads-startup-time string | The service startup time, in the following date format: EEE MMM dd HH:mm:ss Z yyyy. |
| x-ads-duration string | The amount of time spent servicing the request, in milliseconds. |
Response
Body Structure (200)
| result string | A message describing outcome of the operation. Always success for status 200. |
The following examples return raw HTTP headers and JSON objects. For a more developer-friendly experience, consider using our TypeScript SDK or .NET SDK. Both provide strongly typed data with IntelliSense support, offering code completion, error checking, and tooltips that reduce the need to reference JSON schemas.
Example
This example demonstrates the successful deletion of a manifest and its derivatives (200).
Request
curl --location --request DELETE 'https://developer.api.autodesk.com/modelderivative/v2/designdata/dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bW9kZWxkZXJpdmF0aXZlL0E1LnppcA/manifest' \
--header 'Authorization: Bearer eyJh...'
// Define the URL for the DELETE request
const url = 'https://developer.api.autodesk.com/modelderivative/v2/designdata/dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bW9kZWxkZXJpdmF0aXZlL0E1LnppcA/manifest';
// Define the request options, including the HTTP method and headers
const options = {
method: 'DELETE',
headers: {
'Authorization': 'Bearer eyJh...'
}
};
// Make the DELETE request using the Fetch API
fetch(url, options)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
// Create a new instance of HttpClient to send HTTP requests
var client = new HttpClient();
// Create a new HTTP DELETE request to the specified URL
var request = new HttpRequestMessage(HttpMethod.Delete, "https://developer.api.autodesk.com/modelderivative/v2/designdata/dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bW9kZWxkZXJpdmF0aXZlL0E1LnppcA/manifest");
request.Headers.Add("Authorization", "Bearer eyJh...");
// Send the HTTP request asynchronously and get the response
var response = await client.SendAsync(request);
// Ensure the response indicates success (status code 200-299)
response.EnsureSuccessStatusCode();
// Read the response content as a string and print it to the console
Console.WriteLine(await response.Content.ReadAsStringAsync());
# Import the requests library to handle HTTP requests
import requests
# Define the URL for the DELETE request
url = "https://developer.api.autodesk.com/modelderivative/v2/designdata/dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bW9kZWxkZXJpdmF0aXZlL0E1LnppcA/manifest"
# Define the headers
headers = {
'Authorization': 'Bearer eyJh...',
}
# Make the DELETE request using the requests library
response = requests.delete(url, headers=headers)
# Print the response content to the console
print(response.text)
Response
Status Code: 200 OK
Content-Type:application/json;charset=utf-8
x-ads-app-identifier:platform-viewing-2016.05.03.1102.2f6bfbf-production
x-ads-startup-time:Wed May 11 14:03:54 CST 2016
x-ads-duration:280 ms
{
"result":"success"
}