PATCH
/
unified
/
ats
/
background_checks
/
packages
/
{id}
curl --request PATCH \
  --url https://api.stackone.com/unified/ats/background_checks/packages/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'x-account-id: <x-account-id>' \
  --data '{
  "name": "Test 1",
  "description": "Skills test to gauge a candidate'\''s proficiency in job-specific skills",
  "tests": [
    {
      "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
      "name": "Test 1",
      "description": "Skills test to gauge a candidate'\''s proficiency in job-specific skills"
    }
  ],
  "passthrough": {
    "other_known_names": "John Doe"
  }
}'
{
  "statusCode": 200,
  "message": "Record updated successfully.",
  "timestamp": "2021-01-01T01:01:01.000Z"
}

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
name
string | null

Package name

Example:

"Test 1"

description
string | null

Package description

Example:

"Skills test to gauge a candidate's proficiency in job-specific skills"

tests
object[] | null

Package tests

passthrough
object | null

Value to pass through to the provider

Example:
{ "other_known_names": "John Doe" }

Response

200
application/json
Record updated successfully.
statusCode
number
required
Example:

200

message
string
required
Example:

"Record updated successfully."

timestamp
string
required
Example:

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