Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

attribute

...

A unique name of dropdown where you are adding a new value.

...

Props

...

Properties of dropdown. e.g., {"abbreviation": "cDNA"}

...

Value

...

A unique dropdown value.

...

Concept Code

...

A unique concept code

...

Use this URL to delete the PV dropdown value.

Result:

The response to this request will contain the details of the deleted PV dropdown value.

Below is an example of a deleted PV dropdown value:

URL

http[s]:<host>:<port>/openspecimen/rest/ng/permissible-values/91621

Method

DELETE

Request

application/json

Response

Code Block
{
    "id": 91621,
    "value": "5*5mm",
    "attribute": "spsz",
    "conceptCode": "size in mm",
    "props": {},
    "activityStatus": "Active"
}

...

code

Applies to

Status Message

200

All resources

PV dropdown value has been created deleted successfully

400

All requests

Invalid parameters, e.g  duplicate value.. entry not found … etc

401

All requests

Authorization failed, user doesn’t have authority

500

All requests

Internal server error, encountered server error while performing operations