Edit in GitHubLog an issue

Analytics Classifications API

The Analytics 2.0 Classifications API endpoints provide advanced methods for categorizing variable data and displaying it in reports. The endpoints use the same data and methods that are used when working with classifications in the Adobe Analytics UI. See the Classifications overview for more information.

The endpoints described in this guide are routed through analytics.adobe.io. To use them, you must first create a client with access to the Adobe Developer Console. For more information, see Getting started with the Analytics API for more information.

This guide includes instructions for using the following endpoints:

Importing classification datasets

This guide includes instructions for importing JSON classification datasets smaller than 50 MB. With this method, you include the dataset in the payload as part of a POST request. To import classification datasets that are larger than 50 MB, or that include a .tsv or .tab file, see Importing classifications by file upload.

POST import JSON classification

Use this endpoint to create a classification smaller than 50 MB. For more information on importing classifications, see Classifications importer overview.

POST https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/job/import/json/{DATASET_ID}

Request and Response Examples

Click the Request tab in the following example to see a cURL request for this endpoint. Click the Response tab to see a successful JSON response for the request.

Copied to your clipboard
curl -X POST "https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/job/import/json/{DATASET_ID}" \
-H "x-api-key: {CLIENT_ID}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {ACCESS_TOKEN}" \
-d '{
"dataFormat": "json",
"encoding": "UTF8",
"jobName": "example_dataset_name-example-dataset_id at example_time",
"notifications": [
{
"method": "email",
"state": "completed",
"recipients": [
"john@example.com"
]
}
],
"listDelimiter": ",",
"source": "Direct API Upload",
"keyOptions": {
"byte_length": 0,
"type": "string"
},
"data": [
{
"key": "KeyYYYY0730-json1",
"data": {
"Product Brand": "Basket Ball Jam",
"Category": "",
"Size": "Winter Fun",
"Weight": "Sports",
"Origin": "Origin-4"
}
},
{
"key": "KeyYYYY0730-json2",
"data": {
"Product Brand": "Basket Ball Jam",
"Category": "",
"Size": "Winter Fun",
"Weight": "Sports",
"Origin": "Origin-5"
}
},
{
"key": "KeyYYYY0730-json3",
"data": {
"Product Brand": "Basket Ball Jam",
"Category": "",
"Size": "Winter Fun",
"Weight": "Sports",
"Origin": "Origin-6"
}
}
]
}'

Request example details

The example above requests the following:

  • The dataFormat for the classification as json.
  • The jobName as example_dataset_name-example-dataset_id at example_time.
  • The notifications to be sent by email when the status is completed.
  • The import data is comma delimited with key value pairs for key, data, Category, Weight, and Origin.

Response example details

The response example above shows import_job_id and api_job_id values that can be used with other classification endpoints.

Request parameters

The following table describes the POST import JSON classification request parameters:

NameRequiredTypeDescription
dataset_id
required
string
The dataset ID for creating API import job
dataFormat
required
string
The data format option for this endpoint is json.
encoding
optional
string
The encoding for data. The default value is UTF-8.
jobName
optional
string
The name of the job
notifications
optional
container
Contains the notification information. Includes the method, state, and recipients parameters.
method
optional
string
The method by which the notification is sent. This includes the enums email and rabbit.
state
optional
string
The state of the notification. Includes the following enums: created, queued, validated, failed_validation, processing, done_processing, failed_processing, and completed.
recipients
optional
string
The recipients of the notification
listDelimiter
optional
string
Specifies the data delimiter for the list. Default delimiter is , (comma)
keyOptions
optional
container
Contains the byte_length, type, and overwrite parameters
byte_length
optional
integer
The byte length of the job
type
optional
string
The type of the job
overwrite
optional
boolean
Whether or not the import will overwrite.
data
required
The data to be imported
jobImportOption
optional
container
Contains the dataFormat, encoding, jobName, notifications,listDelimeter, source, keyOptions, and notification_extras parameters. As described in the following 12 rows.
dataFormat
optional
string
The data format options. Includes tsv, tab, or json.
encoding
optional
string
The encoding for data. The default value is UTF-8.
jobName
optional
string
The name of the job
listDelimiter
optional
string
Specifies the data delimiter for the list. Default delimiter is , (comma)
source
optional
string
The data source. Default value is "Direct API Upload".
overwrite
optional
boolean
Whether or not the import will overwrite.
notification_extras
optional
container
Extra options for notifications. Contains the key, and value parameters.
key
optional
string
The field or column name associated with key value
value
optional
string
The actual value of the key (as in a field or column name)

Response Parameters

No response parameters are returned. Successful requests are indicated by a 200 status code.

POST export classification

Use this endpoint to create an export job for a classification dataset. The dataset can be retrieved in a subsequent request by providing the job ID returned with this endpoint.

POST https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/job/export/{DATASET_ID}

Request and Response Examples

Click the Request tab in the following example to see a cURL request for this endpoint. Click the Response tab to see a successful JSON response for the request.

Copied to your clipboard
curl -X POST 'https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/job/export/{DATASET_ID}' \
-H "x-api-key: {CLIENT_ID}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {ACCESS_TOKEN}" \
-d '{
"dataFormat": "json",
"encoding": "UTF8",
"jobName": "example_dataset_name-example-dataset_id at example_time",
"notifications": [
{
"method": "email",
"state": "failed_validation",
"recipients": [
"john@example.com"
]
},
{
"method": "email",
"state": "completed",
"recipients": [
"john@example.com"
]
},
],
"listDelimiter": ",",
"source": "Direct API Upload",
"rowLimit": 50000,
"offset": 0,
"columns": [
"string"
],
"keys": [
"string"
],
"keyRegex": "string",
"exactMatch": {},
"regexMatch": {},
"dateFilterStart": "YYYY-12-07T22:29:07.446Z",
"dateFilterEnd": "YYYY-12-07T22:29:07.446Z"
}'

Request example details

The example request above specifies the following export job options:

  • The dataFormat for the classification as json.
  • The jobName to be example_dataset_name-example-dataset_id at example_time.
  • The notificationsto be delivered by email to john@example.com when the state is failed_validation and completed.
  • The data source is "Direct API Upload".
  • The rowLimit to be 50000.
  • The dateFilterStart and dateFilterEnd are set to YYYY-12-07T22:29:07.446Z and YYYY-12-07T22:29:07.446Z.

Response example details

The response above shows the following information for the export job:

  • The datasetID of the job is 6449b63563c1e069c6159415.
  • The jobID of the job is 16e38fbc-fc82-4fdf-88de-ec33e63489d5.
  • The name of the job is example_dataset_name-example-dataset_id at example_time.
  • The classification setName of the job is example_name.
  • The job type is export.

Request Parameters

The following table describes the POST export classification request parameters:

NameRequiredTypeDescription
dataset_id
required
string
The dataset ID for creating an API export job
dataFormat
optional
string
The data format options. Includes tsv, tab, or json.
encoding
optional
string
The encoding for data. The default value is UTF-8.
jobName
optional
string
The name of the job
listDelimiter
optional
string
Specifies the data delimiter for the list. Default delimiter is , (comma)
rowLimit
optional
integer
The limit of included rows
offset
optional
integer
The position in the dataset of a particular record
columns
optional
string
The included columns
keys
optional
string
The field or column name associated with key value
keyRegex
optional
string
Key regular expression
exactMatch
optional
Finds the exact match
regexMatch
optional
Finds the regexMatch
dateFilterStart
optional
string
The first value in the date filter
dateFilterEnd
optional
string
The last value in the date filter
source
optional
string
The data source. Default value is "Direct API Upload".
notifications
optional
container
Contains the notification information. Includes the method, state, and recipients parameters.
method
optional
string
The method by which the notification is sent. This includes the enums email and rabbit.
state
optional
string
The state of the notification. Includes the following enums: created, queued, validated, failed_validation, processing, done_processing, failed_processing, and completed.
recipients
optional
string
The recipients of the notification

Response Parameters

The following table describes the POST export classification response parameters:

NameTypeDescription
setName
string
The name of the classification dataset
jobId
string
The ID of the job
jobSize
integer
The size of the job file
jobOptions
container
The export options of the job
name
string
The name of the job
totalLines
integer
The total lines of the file
datasetId
string
The classification dataset ID of the job
noeffectLines
integer
The no effect lines of export job
history
container
The history of the job. Contains the timestamp, jobState, and message parameters.
timestamp
string
The time when the job state changed
jobState
string
The state of the job. Includes the enums: created, queued, validated, failed_validation, processing, done_processing, failed_processing, completed.
message
string
The details of the job history
state
string
The state of the job
type
string
The type of the job
imsOrgId
string
The global company ID

GET export classification file

Use this endpoint to retrieve the contents of an export classification file. When using this endpoint, you must supply the export job ID returned with the POST export classification endpoint. For more information on classification data, see Classification data files.

GET https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/job/export/file/{JOB_ID}

Request and Response Examples

Click the Request tab in the following example to see a cURL request for this endpoint. Click the Response tab to see a successful JSON response for the request.

Copied to your clipboard
curl -X GET "https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/job/export/file/16e38fbc-fc82-4fdf-88de-ec33e63489d5" \
-H "x-api-key: {CLIENT_ID}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {ACCESS_TOKEN}"

Request example details

The example above shows a cURL request for the export file of the following job ID: 16e38fbc-fc82-4fdf-88de-ec33e63489d5.

Response example details

The example above returns a table containing the exported data.

Request Parameters

The following table describes the GET export classification file request parameters:

NameRequiredTypeDescription
job_id
required
string
Export Job ID

Response Parameters

The response includes the classification data in the format specified with the export job request. No other response parameters are returned.

GET classification template

Use this endpoint to retrieve a template showing how to structure data. For more information on how to structure your classification files, see Classification data files and Classification template.

GET https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/datasets/template/{DATASET_ID}

Request and Response Examples

Click the Request tab in the following example to see a cURL request for this endpoint. Click the Response tab to see a successful JSON response for the request.

Copied to your clipboard
curl -X GET "https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/datasets/template/{DATASET_ID}" \
-H "x-api-key: {CLIENT_ID}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {ACCESS_TOKEN}"

Request example details

The example above requests a template showing how to structure data.

Response example details

The example above returns a template showing how to structure data. For more information on how to structure your classification files, see Classification data files and Classification template.

Request Parameters

The following table describes the GET classification template file request parameters.

NameRequiredTypeDescription
dataset_id
required
string
Classification dataset ID
format
optional
string
Template format. The default is tsv. Includes the enum options tsv or csv.

Response Parameters

The response includes a sample structure of how the data will be formatted while using the GET export classification file endpoint. No other response parameters are returned.

GET all classification datasets

Use this endpoint to retrieve all datasets for a specified report suite ID. For more information on classification sets, see Classification sets overview.

GET https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/datasets/compatibilityMetrics/{RSID}

Request and Response Examples

Click the Request tab in the following example to see a cURL request for this endpoint. Click the Response tab to see a successful JSON response for the request.

Copied to your clipboard
curl -X GET "https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/datasets/compatibilityMetrics/{example_RSID}" \
-H "x-api-key: {CLIENT_ID}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {ACCESS_TOKEN}"

Request example details

The example above shows a cURL request for the classification datasets associated with {example_RSID}.

Response example details

The example above returns the following classification datasets:

  • The dataset associated with evar5: 646e65bfc2d00205dbc5f034.
  • The datasets associated with evar11, including 64c437bc6f71754e2e56e019, 64c437886f71754e2e56e011, 64c437396f71754e2e56e005, and 64c437616f71754e2e56e009.

Request Parameters

The following table describes the GET all classification datasets request parameters.

NameRequiredTypeDescription
rsid
required
string
Adobe Analytics report suite ID

Response Parameters

The following table describes the GET all classification datasets response parameters.

NameTypeDescription
metrics
container
Contains the id, and datasets parameters
id
string
ID
datasets
string
Datasets
report_suite_id
string
The report suite ID

GET a single classification

Use this endpoint to retrieve information for a specified dataset. For more information on classification sets, see Classification sets overview.

GET https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/datasets/{DATASET_ID}

Request and Response Examples

Click the Request tab in the following example to see a cURL request for this endpoint. Click the Response tab to see a successful JSON response for the request.

Copied to your clipboard
curl -X GET "https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/datasets/{64b1d77b235090539e282308}"
-H "x-api-key: {CLIENT_ID}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {ACCESS_TOKEN}"

Request example details

The example above shows a cURL request of the data associated with the dataset {64b1d77b235090539e282308}.

Response example details

The example above returns the following information for the dataset named: testsuite evar7 classifications:

  • The name of the two columns are "Column A" and "Column B".
  • The column_id for the two columns are 5849115441721086447 and 495411758226162142.
  • The name of the dataset is testsuite evar7 classifications.
  • The subscription is associated with the testsuite report suite ID.

Request Parameters

The following table describes the request parameters for this endpoint:

NameRequiredTypeDescription
dataset_id
required
string
Classification Dataset ID

Response Parameters

The following table describes the response parameters for this endpoint:

ParameterTypeDescription
owner
container
Contact information that contains the name and email parameters
name
string
Name of person responsible for the classification definition and/or data
email
string
Email address for person responsible for the classification definition and/or data
subscriptions
container
A list of classification subscriptions. Subscriptions are not required at the time of creation but no data will be classified until at least one subscription exists. Contains the rsid, dimension, unique, and editable parameters. For more information, see Classification settings.
rsid
string
The report suite ID
dimension
string
The dimension you would like to be classified. Should be prefixed with variables/, e.g., variables/page.
unique
boolean
Whether a forced update of unique_hash is used to avoid duplicate subscriptions
editable
boolean
Whether the subscription is editable by the current user based on report suite permissions
default_encoding
string
Default encoding for jobs. Defaults to utf8. Includes the enums utf8 and latin1.
columns
container
A list of classification column definitions. Column definitions are not required at the time of creation but no data will be classified until at least one column definition exists. Contains the column_id, name, display_name, type, and classified_by.
column_id
string
A UUID that is generated when a column is created
name
string
The name for this given data column. It cannot be changed after column creation. It also can be any valid UTF-8 string.
display_name
string
The display name for the given data column. The value can be changed. It can be any valid UTF-8 string.
type
string
Defaults to text. This cannot be changed after column creation. Includes the following enums: text, integer, float, and list.
classified_by
string
An optional classification dataset ID that classifies this column's data
dataset_id
string
An auto-generated ID value created by the system on creation of the dataset, in the form of an ObjectId
name
string
A friendly display name for users to easily identify the classification definition
description
string
A long description for the purpose of this classification set
last_modified_date
string
The last modified date/time of the classification set
last_modified_by
string
The email address of the last person that modified the classification set
ims_org_id
string
The ID associated with the analytics company of the user
default_list_delimiter
string
The default delimiter for list column types. Defaults to , (comma). If you have no list columns, this field does not apply.
notifications
container
Contains the notification information. Includes the method, state, and recipients parameters.
method
string
The method by which the notification is sent. This includes the enums email and rabbit.
state
string
The state of the notification. Includes the following enums: created, queued, validated, failed_validation, processing, done_processing, failed_processing, and completed.
recipients
string
The recipients of the notification

GET classification job information

Use this endpoint to retrieve job information for a specified job ID. For more information about classification jobs, see Classification set jobs manager.

GET https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/job/{JOB_ID}

Request and Response Examples

Click the Request tab in the following example to see a cURL request for this endpoint. Click the Response tab to see a successful JSON response for the request.

Copied to your clipboard
curl -X GET "https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/job/7dafc070-afec-4a8d-8187-24f572f7d0f8"
-H "x-api-key: {CLIENT_ID}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {ACCESS_TOKEN}"

Request example details

The example above shows a cURL request for the job information associated with the 7dafc070-afec-4a8d-8187-24f572f7d0f8 job ID.

Response example details

The example above returns the following classification job information:

  • The history of the job, including the details associated with its various states. This includes the created, queued, processing, and completed states.
  • The recipient for the state notifications: john@example.com.
  • The name of the job is example_dataset_name-example-dataset_id at example_time.
  • The final state of the job is completed.

Request Parameters

The following table describes the GET classification job information request parameters:

NameRequiredTypeDescription
job_id
required
string
Classification Job ID

Response Parameters

The following table describes the GET classification job information response parameters:

NameTypeDescription
setName
string
The name of the classification dataset
jobId
string
The ID of the job
jobSize
integer
The size of the job file
jobOptions
container
The import or export options of the job
name
string
The name of the job
totalLines
integer
The total lines of the file
datasetId
string
The classification dataset ID of the job
noeffectLines
integer
The no effect lines of import job
history
container
The history of the job. Contains the timestamp, jobState, and message parameters.
timestamp
string
The time when the job state changed
jobState
string
The state of the job. Includes the enums: created, queued, validated, failed_validation, processing, done_processing, failed_processing, completed.
message
string
The details of the job history
state
string
The state of the job
type
string
The type of the job
imsOrgId
string
The global company ID

GET classification jobs by dataset

Use this endpoint to retrieve job information for a specified dataset ID. For more information about classification jobs, see Classification set jobs manager.

GET https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/job/byDataset/{DATASET_ID}

Request and Response Examples

Click the Request tab in the following example to see a cURL request for this endpoint. Click the Response tab to see a successful JSON response for the request.

Copied to your clipboard
curl -X GET "https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/job/byDataset/{DATASET_ID}?page=0&size=10" \
-H "Accept: */*" \
-H "User-Agent: Example Client (https://www.exampleclient.com)" \
-H "x-api-key: {CLIENT_ID}" \
-H "Authorization: Bearer {ACCESS_TOKEN}"

Request example details

The example above requests the following classification job information:

  • The job information associated with the dataset ID exampledatasetxxd9.
  • The page to be returned is 0, or the first page.
  • The size of each page should be limited to 10 jobs.

Response example details

The example above returns the following classification job information for the provided dataset ID:

  • The history of each of the jobs, including the details associated with its various states. This includes the created, queued, processing, and completed states.
  • The jobOptions of each of the jobs, including the dataFormat, encoding, and listDelimiter parameters.
  • The jobId of each of the jobs.
  • The totalElements of the specified dataset are 3.

Request Parameters

The GET jobs by dataset endpoint uses the same request parameters as those described in tables above.

Response Parameters

The GET jobs by dataset endpoint uses the same response parameters as those described in tables above.

PUT classification dataset update

Use this endpoint to update a classification dataset.

PUT https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/datasets/{DATASET_ID}

Request and Response Examples

Click the Request tab in the following example to see a cURL request for this endpoint. Click the Response tab to see a successful JSON response for the request.

Copied to your clipboard
curl -X PUT "https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/datasets/{DATASET_ID}"
-H "x-api-key: {CLIENT_ID}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {ACCESS_TOKEN}"

Request example details

The example above shows a cURL request to update the dataset ID 7dafc070-afec-4a8d-8187-24f572f7d0f8.

Request Parameters

The following table describes the request parameters for this endpoint:

NameRequiredTypeDescription
dataset_id
required
string
Classification Dataset ID
owner
optional
container
Contact information that contains the name and email parameters
name
optional
string
Name of person responsible for the classification definition and/or data
email
optional
string
Email address for person responsible for the classification definition and/or data
subscriptions
required
container
A list of classification subscriptions. Subscriptions are not required at the time of creation but no data will be classified until at least one subscription exists. Contains the rsid, dimension, and unique parameters.
rsid
required
string
The report suite ID
dimension
required
string
The dimension you would like to be classified. Should be prefixed with variables/, e.g., variables/page.
unique
required
boolean
Whether a forced update of unique_hash is used to avoid duplicate subscriptions
default encoding
optional
string
Default encoding for jobs. Defaults to utf8. Includes the enums: utf8 and latin1.
columns
required
container
A list of classification column definitions. Column definitions are not required at the time of creation but no data will be classified until at least one column definition exists. Contains the name, display_name, type, and classified_by.
name
required
string
The name for this given data column. It cannot be changed after column creation. It also can be any valid UTF-8 string.
display_name
required
string
The display name for the given data column. The value can be changed. It can be any valid UTF-8 string.
type
optional
string
Defaults to text. This cannot be changed after column creation. Includes the following enums: text, integer, float, and list.
classified_by
optional
string
An optional classification dataset ID that classifies this column's data
name
optional
string
A friendly display name for users to easily identify the classification definition
description
optional
string
A long description for the purpose of this classification set
default_list_delimiter
optional
string
The default delimiter for list column types. Defaults to , (comma). If you have no list columns, this field does not apply.
notifications
optional
container
Contains the notification information. Includes the method, state, and recipients parameters.
method
optional
string
The method by which the notification is sent. This includes the enums email and rabbit.
state
optional
string
The state of the notification. Includes the following enums: created, queued, validated, failed_validation, processing, done_processing, failed_processing, and completed.
recipients
optional
string
The recipients of the notification

Response Parameters

The following table describes the response parameters for this endpoint:

NameTypeDescription
owner
container
Contact information that contains the name and email parameters
name
string
Name of person responsible for the classification definition and/or data
email
string
Email address for person responsible for the classification definition and/or data
subscriptions
container
A list of classification subscriptions. Subscriptions are not required at the time of creation but no data will be classified until at least one subscription exists. Contains the rsid, dimension, unique, and editable parameters.
rsid
string
The report suite ID
dimension
string
The dimension you would like to be classified. Should be prefixed with variables/, e.g., variables/page.
unique
boolean
Whether a forced update of unique_hash is used to avoid duplicate subscriptions
editable
boolean
Whether the subscription is editable by the current user based on report suite permissions
default encoding
string
Default encoding for jobs. Defaults to utf8. Includes the enums: utf8 and latin1.
columns
container
A list of classification column definitions. Column definitions are not required at the time of creation but no data will be classified until at least one column definition exists. Contains the column_id, name, display_name, type, and classified_by parameters.
column_id
string
A UUID that will be generated when a column is created
name
string
The name for this given data column. It cannot be changed after column creation. It also can be any valid UTF-8 string.
display_name
string
The display name for the given data column. The value can be changed. It can be any valid UTF-8 string.
type
string
Defaults to text. This cannot be changed after column creation. Includes the following enums: text, integer, float, and list.
classified_by
string
An optional classification dataset ID that classifies this column's data
dataset_id
string
An auto-generated ID value created by the system on creation of the dataset, in the form of an ObjectId
name
string
A friendly display name for users to easily identify the classification definition
description
string
A long description for the purpose of this classification set
last_modified_date
string
Last modified date/time of the classification set
last_modified_by
string
Email address of the last person that modified the classification set
ims_org_id
string
The ID associated with the analytics company of the user
default_list_delimiter
string
The default delimiter for list column types. Defaults to , (comma). If you have no list columns, this field does not apply.
notifications
container
Contains the notification information. Includes the method, state, and recipients parameters.
method
string
The method by which the notification is sent. This includes the enums email and rabbit.
state
string
The state of the notification. Includes the following enums: created, queued, validated, failed_validation, processing, done_processing, failed_processing, and completed.
recipients
string
The recipients of the notification

DELETE classification

Use this endpoint to delete a specified classification. For more information, see Delete classification data.

DELETE https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/datasets/{DATASET_ID}

Request and Response Examples

Click the Request tab in the following example to see a cURL request for this endpoint. Click the Response tab to see a successful JSON response for the request.

Copied to your clipboard
curl -X PUT "https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/classifications/datasets/6449b63563c1e069c6159415"
-H "x-api-key: {CLIENT_ID}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {ACCESS_TOKEN}"

Request example details

The example above shows a cURL request to delete the 6449b63563c1e069c6159415 dataset ID.

Response example details

The example above returns the following:

  • The job is successful.
  • The message provides additional conformation of the DELETE job.

Request Parameters

This request contains only one parameter, as described below:

NameRequiredTypeDescription
dataset_id
required
string
Classification Dataset ID

Response Parameters

The following table describes the DELETE classification response parameters:

NameTypeDescription
success
boolean
Whether the DELETE request succeded
message
string
Additional information
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.