Request

Response

    DELETE

    projects/:projectId/folders/:folderUrn/aggregates/:aggregateId

    Deletes a given aggregate based on its ID, folder URN and project ID.

    Resource Information

    Method and URI
    DELETE
    https://developer.api.autodesk.com/construction/aggregate/v1/projects/:projectId/folders/:folderUrn/aggregates/:aggregateId
    Authentication Context
    user context required
    Required OAuth Scopes
    data:write
    Data Format

    Request

    Headers

    Authorization*
    string
    Must be Bearer <token>, where <token> is obtained via a three-legged OAuth flow.
    region
    string
    The region to which your request should be routed. If not set, the request is routed automatically but may incur a small latency increase.

    For the full list of supported regions, see the Regions page.

    The API continues to support x-ads-region for backward compatibility.

    * Required

    Request

    URI Parameters

    projectId
    string: UUID
    The GUID that uniquely identifies the project.
    folderUrn
    string
    The folder URN of the aggregate folder. The alias project-level can be used to retrieve project aggregates. See Aggregate Folders.
    aggregateId
    string: UUID
    The aggregate ID.

    Response

    HTTP Status Code Summary

    200
    OK
    Success
    401
    Unauthorized
    The provided bearer token is not valid.
    403
    Forbidden
    The user or service represented by the bearer token does not have permission to perform this operation.
    404
    Not Found
    The requested resource could not be found.
    429
    Too Many Requests
    Rate limit exceeded. Wait some time before retrying. The Retry-After header might provide the amount of the time to wait.
    500
    Internal Server Error
    An unknown error occurred on the server.

    Example

    Request

    curl -v 'https://developer.api.autodesk.com/construction/aggregate/v1/projects/84e30b95-f6d2-3553-391f-f2747a3017e0/folders/urn%3aadsk.wipprod%3afs.folder%3aco.WI8roO18TU2Cl3P9y64z4w/aggregates/fe5509ba-05c9-2445-b95a-7a3d8b547265' \
         -X DELETE \
         -H 'Authorization: Bearer <token>'