Request

Response

    Assigned Structures
    DELETE

    projects/{projectId}/assigned-structures/{structureId}

    Unassigns a classification structure (tree) from a Takeoff project.

    The classification structure remains available in the Classifications API.

    Note that this endpoint is not compatible with BIM 360 projects.

    Resource Information

    Method and URI
    DELETE
    https://developer.api.autodesk.com/construction/takeoff/v1/projects/{projectId}/assigned-structures/{structureId}
    Authentication Context
    User context required
    Required OAuth Scopes
    data:write
    Data Format
    JSON

    Request

    Headers

    Authorization*
    string
    Must be Bearer <token>, where <token> is 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 region where the service is located.

    Possible values: US, EMEA. For the full list of supported regions, see the Regions page.

    * Required

    Request

    URI Parameters

    projectId
    string: UUID
    The ID of the project.

    This corresponds to project ID in the Data Management API, and can be specified in the form of “UUID” or b.”UUID”.

    To learn how to find the project ID, see the Retrieve Forma hub and project ID tutorial.

    structureId
    string: UUID
    The ID of the Classification Service structure assigned to the project.

    Response

    HTTP Status Code Summary

    204
    No Content
    Successfully unassigned the classification structure from the project.
    400
    Bad Request
    The parameters of the requested operation are invalid.
    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.

    Response

    Body Structure (204)

    Response for 204 has no body.

    Example

    Successfully unassigned the classification structure from the project.

    Request

    curl -v 'https://developer.api.autodesk.com/construction/takeoff/v1/projects/:projectId/assigned-structures/:structureId' \
      -X 'DELETE' \
      -H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a'
    

    Response

    204 No Content