Unlink a Document

get

/primeapi/restapi/document/{docId}/scope/{type}/scopeId/{id}/unlinkDocument

Send a request to this endpoint to unlink a document.

Request

Path Parameters
  • The system-generated identifier of a document.
  • The key identifier of a document.
  • The type of a document.
    Allowed Values: [ "GENERIC_PORTFOLIO", "PROJECT", "STRATEGY", "WORKSPACE", "IDEA", "PBS", "WBS", "ACTIVITY", "WORK_PACKAGE", "SCOPE_ITEM", "SCOPE_ITEM_ASSIGNMENT", "WORKFLOW_INSTANCE", "FORM_INSTANCE", "CONTRACT", "COMMITMENT", "TEMPLATE", "CHANGE_ORDER", "POTENTIAL_CHANGE_ORDER", "POTENTIAL_CHANGE_ORDER_PROPOSAL", "PAYMENT_APPLICATION", "SUBMITTALS", "RFI", "CHANGE_EVENTS", "FUND", "PORTFOLIO_FUND", "CUSTOM_LOG_ITEM", "RISK" ]

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : ApiEntityDocument
Type: object
Show Source
Nested Schema : annotationCount
Type: object
Additional Properties Allowed
Show Source
Nested Schema : ApiEntityDocumentConfiguredFields
Type: object
Show Source
Nested Schema : costFlexMap
Type: object
Additional Properties Allowed
Show Source
An object containing the cost fields associated with the document.
Nested Schema : otherFlexMap
Type: object
Additional Properties Allowed
Show Source
An object containing the cost fields associated with the document.
Nested Schema : textFlexMap
Type: object
Additional Properties Allowed
Show Source
An object containing the cost fields associated with the document.
Nested Schema : additionalProperties
Type: object
Nested Schema : additionalProperties
Type: object
Nested Schema : additionalProperties
Type: object

404 Response

The requested document does not exist, or you do not have access to it.