Remove Input(s)

Remove one or more inputs.

Endpoint

DELETE https://api.crowdynews.com/collection/inputs

Request Parameters

HEADER FIELD VALUE DESCRIPTION
Content-Type The content type of the request body, must be set to application/json.
QUERY PARAMETER VALUE DESCRIPTION
access_token A valid OAuth access token with the correct permission(s).
REQUEST BODY DATA VALUE TYPE VALUE DESCRIPTION
ids Array Contains the input resource IDs that must be removed. An input can only be removed when the consumer has access to the contract said input(s) belong(s) to, otherwise this action is forbidden.

Response Format

On success, the HTTP status code in the response header is 204 No Content. On error, the header status code is an error code and the response body contains an error object.

Example Request

Request:

DELETE https://api.crowdynews.com/collection/inputs?access_token={your access token}

{
    "ids": [ "565d4de4046e659546e62151" ]
}

Response:

HTTP/1.1 204

Additional Resources