Delete Code Value Assignments from an Object

delete

/api/restapi/codeValue/objectType/{codeValueObjectType}

Send a request to this endpoint to delete one or more code value assignments from a given object. The object ID from which the code value assignments needs to be deleted should be given as a path parameter and the assignment IDs should be given as a body parameter. For example, an array of projectCodeValueId(s) should be given in the body with projectId in path for project object.

Request

Path Parameters
  • The name of an object from which the code value assignments needs to be deleted.
    Allowed Values: [ "SCOPE_ITEM", "PROJECT", "SCOPE_ASSIGNMENT", "WBS", "WORK_PACKAGE", "ACTIVITY", "RESOURCE", "CONTRACT", "RISK", "COMMITMENT", "TASKS", "STRATEGY", "FUND", "SUBMITTAL", "IDEA", "RFI", "CUSTOM_LOG_ITEM" ]
    Allowed Values: [ "SCOPE_ITEM", "PROJECT", "SCOPE_ASSIGNMENT", "WBS", "WORK_PACKAGE", "ACTIVITY", "RESOURCE", "CONTRACT", "RISK", "COMMITMENT", "TASKS", "CONSTRAINT", "STRATEGY", "FUND", "SUBMITTAL", "IDEA", "RFI", "CUSTOM_LOG_ITEM", "PORTFOLIO", "DOCUMENT" ]
Supported Media Types
Request Body - application/json ()
Root Schema : List<Integer>
Type: array
Title: List<Integer>
Show Source
Back to Top

Response

204 Response

Successful operation with no content.

400 Response

Invalid input for the Code Value service.

404 Response

The path parameter is not present in the list of allowable values.
Back to Top