Request

Response

    Mutations

    deleteTaskBoard

    mutation

    Deletes a task board and all its associated tasks.

    Template for Mutation:

    mutation DeleteTaskBoard($hubId: ID!, $boardId: ID!) {
      deleteTaskBoard(hubId: $hubId, boardId: $boardId) {
        boardId
      }
    }
    

    Arguments

    hubId*
    ID non-null
    The CommonWorkspace hub ID (a.k.a. ACE scope URN) of the hub that contains the board.
    boardId*
    ID non-null
    The unique identifier of the task board to delete.
    * Required

    Possible Returns

    Value TypeDescription
    DeleteTaskBoardPayload Return payload for the deleteTaskBoard mutation.


    Examples

    Example 1

    Deletes a board and every task on it. Requires the ADMIN role on the board.

    Query:

     mutation DeleteTaskBoard($hubId: ID!, $boardId: ID!) {
     deleteTaskBoard(hubId: $hubId, boardId: $boardId) {
       boardId
     }
    }
    

    Query Variables:

    {
     "hubId": "urn:adsk.ace:beta.scope:02dd340f-3e84-4db8-b6a1-56a964a202c7",
     "boardId": "EwgH0qjTZmhD3JEW0iU4VK_aga"
    }
    

    Response:

    {
       "data": {
           "deleteTaskBoard": {
               "boardId": "EwgH0qjTZmhD3JEW0iU4VK_aga"
           }
       }
    }