Skip to main content
DELETE
/
accounts
/
{id}
Delete Account
curl --request DELETE \
  --url https://api.stackone.com/accounts/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "<string>",
  "provider": "<string>",
  "status": "active",
  "origin_owner_id": "<string>",
  "origin_owner_name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "provider_name": "<string>",
  "categories": [
    "hris",
    "ats"
  ],
  "status_reasons": [
    {
      "timestamp": "2023-11-07T05:31:56Z",
      "code": "<string>",
      "description": "<string>"
    }
  ],
  "origin_username": "<string>",
  "credentials": {},
  "setup_information": {},
  "label": "<string>",
  "type": [
    "PRODUCTION",
    "TEST"
  ],
  "shared": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.stackone.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

The account with the given identifier was deleted.

id
string
required
provider
string
required
status
enum<string>
required
Available options:
active,
inactive,
suspended,
archived,
expired,
error
origin_owner_id
string
required
origin_owner_name
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
provider_name
string | null
categories
string[] | null

The categories this provider belongs to (e.g., hris, ats, crm)

Example:
["hris", "ats"]
status_reasons
object[] | null
origin_username
string | null
credentials
object
setup_information
object
label
string | null
type
enum<string> | null

The account type

Available options:
production,
test,
unmapped_value,
null
Example:
["PRODUCTION", "TEST"]
shared
boolean | null