Request

Response

    Mutations

    unlinkTaskLinkedObject

    mutation

    Template for Mutation:

    mutation UnlinkTaskLinkedObject($hubId: ID!, $input: UnlinkTaskLinkedObjectInput!) {
      unlinkTaskLinkedObject(hubId: $hubId, input: $input) {
        linkedObjectId
      }
    }
    

    Arguments

    hubId*
    ID non-null
    input*
    * Required

    Possible Returns

    Value TypeDescription
    UnlinkTaskLinkedObjectPayload


    Examples

    Example 1

    Removes a link between a task and a design or drawing object. Set linkedObjectId to the taskLinkedObject.id returned by linkTaskLinkedObject.

    This request uses sample IDs. Replace them with your hub, task, and link IDs.

    Query:

    mutation UnlinkTaskLinkedObject($hubId: ID!, $input: UnlinkTaskLinkedObjectInput!) {
      unlinkTaskLinkedObject(hubId: $hubId, input: $input) {
        linkedObjectId
      }
    }
    

    Query Variables:

    {
      "hubId": "urn:adsk.ace:beta.scope:11111111-2222-4333-8444-555555555555",
      "input": {
        "taskId": "RkJrskZjToKCCgQEz_UvHg_aga",
        "linkedObjectId": "FUSION_urn:adsk.wipprod:dm.lineage:EjRWeJCrTe-ACRI0VniQqw_ROOT_COMPONENT_Design"
      }
    }
    

    Illustrative response

    {
      "data": {
        "unlinkTaskLinkedObject": {
          "linkedObjectId": "FUSION_urn:adsk.wipprod:dm.lineage:EjRWeJCrTe-ACRI0VniQqw_ROOT_COMPONENT_Design"
        }
      }
    }