Reject a submission

POST
/submissions/{submissionId}/reject

Reject a submission that is awaiting review. An optional category and reason can be provided.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

submissionId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://terac.com/api/external/v2/submissions/string/reject" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "status": "in_progress"
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}