POST
/
unified
/
ats
/
applications
/
{id}
/
reject
curl --request POST \
  --url https://api.stackone.com/unified/ats/applications/{id}/reject \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'x-account-id: <x-account-id>' \
  --data '{
  "passthrough": {
    "other_known_names": "John Doe"
  },
  "rejected_reason_id": "f223d7f6-908b-48f0-9237-b201c307f609"
}'
{
  "statusCode": 200,
  "message": "Application rejected successfully.",
  "timestamp": "2021-01-01T01:01:01.000Z",
  "data": {
    "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
    "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

x-account-id
string
required

The account identifier

Path Parameters

id
string
required

Body

application/json
passthrough
object | null

Value to pass through to the provider

Example:
{ "other_known_names": "John Doe" }
rejected_reason_id
string | null

Unique identifier of the rejection reason

Example:

"f223d7f6-908b-48f0-9237-b201c307f609"

Response

200
application/json
The application was rejected successfully.
statusCode
number
required
Example:

200

message
string
required
Example:

"Application rejected successfully."

timestamp
string
required
Example:

"2021-01-01T01:01:01.000Z"

data
object
required