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
-
codeValueObjectType(required): string
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
- application/json
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.