Decline an IT order
Declines an order that is awaiting approval (`REQUESTED`). On success the order moves to `DECLINED`, every item on it is marked as not approved, and no assignment or fulfilment is started. Declining is rejected with `409` when the order is not in `REQUESTED` status. The decision is final — a declined order cannot be approved afterwards.
**Token scopes**: `it-orders:write`
Authentication
AuthorizationBearer
## Authentication
The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.
```curl
curl -X GET 'https://api.deel.training/rest/v2/contracts' \
-H 'Authorization: Bearer YOUR-TOKEN-HERE'
```
[Learn more about authentication](/api/authentication)
OR
AuthorizationBearer
Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/
Path parameters
order_id
Unique identifier of the IT order
Response
OK
data
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error