projects/{projectId}/settings/mappings/{mappingId}
Deletes an admin mapping from the project. A mapping defines a user, role, or company as a Submittal Manager, allowing them to be assigned as a manager on individual submittal items.
Note that a mapping can only be deleted from a project if the user, role, or company is not currently assigned as the manager on any submittal item. To check, first call GET mappings to retrieve the autodeskId for the mapping you want to delete. Then call GET items using filter[manager]=<autodeskId> to find any items assigned to that manager. If any items are returned, call PATCH items/{itemId} for each one, providing a different manager and managerType value, before proceeding with the deletion.
For more information about submittal administration, see the Help documentation.
For information on how mappings are used in the Submittal workflow, see the Create Submittal Item tutorial.
For information on how to set up admin mappings for a new project, see the Setting Up a New Project in Submittals tutorial.
Resource Information
| Method and URI | DELETE https://developer.api.autodesk.com/construction/submittals/v2/projects/:projectId/settings/mappings/:mappingId |
| 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. |
Request
URI Parameters
| projectId string: UUID | The ID of the project.
Use the Data Management API to retrieve the project ID. For more information, see the Retrieve a Project ID tutorial. You need to convert the project ID into a project ID for the Forma API by removing the “b." prefix. For example, a project ID of b.a4be0c34a-4ab7 translates to a project ID of a4be0c34a-4ab7. |
| mappingId string: UUID | The ID of the user-role mapping. Each mapping represents a user, role, or company assigned as a Submittal Manager in the project. To retrieve the mapping ID, call GET mappings. |
Response
HTTP Status Code Summary
| 204 No Content | Deleted successfully |
| 400 Bad Request | The request could not be understood by the server due to malformed syntax or missing request headers. |
| 401 Unauthorized | Invalid or missing authorization header. Verify the Bearer token and try again. |
| 403 Forbidden | The user is not authorized to perform this action. |
| 404 Not Found | The specified resource was not found. |
| 500 Internal Server Error | An unexpected error occurred on the server while processing the request. |
Response
Body Structure (204)
Response for 204 has no body.
Example
Deleted successfully
Request
curl -v 'https://developer.api.autodesk.com/construction/submittals/v2/projects/9eae7d59-1469-4389-bfb2-4114e2ba5545/settings/mappings/99fc8896-e72c-4be1-97d0-8d063c7060bf' \
-X 'DELETE' \
-H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a'
Response
204 No Content