Delete Package Label Assignments

deletehttps://app.fossa.com/api/package-label-assignments

Remove one or more Package Labels from a single package.

Request body (required) · application/json

assignmentIdsinteger[]required

The IDs of the package label assignments to delete.

Responses

200OK
400Bad request
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

403Forbidden
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

500Internal server error
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

Try this endpoint

Build a request and run it against app.fossa.com.

Bearer

Stored in this browser for 24 hours. Try It uses a docs proxy for CORS and does not store tokens server-side.

DELETE https://app.fossa.com/api/package-label-assignments
curl --request DELETE \  --url 'https://app.fossa.com/api/package-label-assignments' \  --header 'accept: application/json' \  --header 'content-type: application/json' \  --data '{  "assignmentIds": [    1,    2  ]}'

Real request. Mutating methods can change data.

Click Try It to run a request and see the response here.
application/json