Classification Level APIs"
Gets all classification levels in an organization.
OAuth 2.0 scopes required: read:classification-levels:admin
string
RequiredReturned if the request is successful.
1
2
3
curl --request GET \
--url 'https://api.atlassian.com/admin/dlp/v1/orgs/{orgId}/classification-levels' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"levels": [
{
"levelId": "<string>",
"orgId": "<string>",
"name": "<string>",
"definition": "<string>",
"guideline": "<string>",
"color": "RED",
"sensitivity": 2154,
"status": "PUBLISHED",
"createdBy": {
"name": "<string>",
"accountId": "<string>"
},
"createdOn": "<string>",
"changedBy": {
"name": "<string>",
"accountId": "<string>"
},
"changedOn": "<string>"
}
],
"links": {
"first": "<string>",
"next": "<string>",
"prev": "<string>"
}
}
Creates a draft classification level for an organization.
OAuth 2.0 scopes required: write:classification-levels:admin
string
Requiredstring
Requiredstring
string
LevelColor
Returned if operation is successful.
1
2
3
4
5
6
7
8
9
10
curl --request POST \
--url 'https://api.atlassian.com/admin/dlp/v1/orgs/{orgId}/classification-levels' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"definition": "<string>",
"guideline": "<string>",
"color": "RED"
}'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"levelId": "<string>",
"orgId": "<string>",
"name": "<string>",
"definition": "<string>",
"guideline": "<string>",
"color": "RED",
"sensitivity": 2154,
"status": "PUBLISHED",
"createdBy": {
"name": "<string>",
"accountId": "<string>"
},
"createdOn": "<string>",
"changedBy": {
"name": "<string>",
"accountId": "<string>"
},
"changedOn": "<string>"
}
Gets a classification level with the supplied levelId.
OAuth 2.0 scopes required: read:classification-levels:admin
string
Requiredstring
RequiredReturned if the request is successful.
1
2
3
curl --request GET \
--url 'https://api.atlassian.com/admin/dlp/v1/orgs/{orgId}/classification-levels/{levelId}' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"levelId": "<string>",
"orgId": "<string>",
"name": "<string>",
"definition": "<string>",
"guideline": "<string>",
"color": "RED",
"sensitivity": 2154,
"status": "PUBLISHED",
"createdBy": {
"name": "<string>",
"accountId": "<string>"
},
"createdOn": "<string>",
"changedBy": {
"name": "<string>",
"accountId": "<string>"
},
"changedOn": "<string>"
}
Edits a classification level with the supplied levelId.
OAuth 2.0 scopes required: write:classification-levels:admin
string
Requiredstring
Requiredstring
Requiredstring
string
LevelColor
Returned if the request is accepted.
1
2
3
4
5
6
7
8
9
curl --request PUT \
--url 'https://api.atlassian.com/admin/dlp/v1/orgs/{orgId}/classification-levels/{levelId}' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"definition": "<string>",
"guideline": "<string>",
"color": "RED"
}'
Publishes one or more classification level with the supplied levelIds.
OAuth 2.0 scopes required: write:classification-levels:admin
string
Requiredarray<string>
RequiredReturned if the request is accepted.
1
2
3
4
5
6
7
8
curl --request POST \
--url 'https://api.atlassian.com/admin/dlp/v1/orgs/{orgId}/classification-levels/publish' \
--header 'Content-Type: application/json' \
--data '{
"levelIds": [
"<string>"
]
}'
Archives a classification level with the supplied levelId (batch not currently supported). When you archive a published classification level:
In the event that the classification level is restored and published, those pages and issues will regain this classification level.
OAuth 2.0 scopes required: write:classification-levels:admin
string
Requiredarray<string>
RequiredReturned if the request is accepted.
1
2
3
4
5
6
7
8
curl --request POST \
--url 'https://api.atlassian.com/admin/dlp/v1/orgs/{orgId}/classification-levels/archive' \
--header 'Content-Type: application/json' \
--data '{
"levelIds": [
"<string>"
]
}'
Restores a classification level with supplied levelId. When you restore an archived classification level, it’s restored as a draft.
When you’re ready for your users to start classifying Confluence pages and Jira issues, you can publish the classification level.
If the classification level had been published before being archived, restored, and published again, any pages and issues classified at this level before it was archived will regain this classification level.
OAuth 2.0 scopes required: write:classification-levels:admin
string
Requiredarray<string>
RequiredReturned if the request is accepted.
1
2
3
4
5
6
7
8
curl --request POST \
--url 'https://api.atlassian.com/admin/dlp/v1/orgs/{orgId}/classification-levels/restore' \
--header 'Content-Type: application/json' \
--data '{
"levelIds": [
"<string>"
]
}'
Changes the order of classification levels. The most sensitive classification level should be ranked 1.
OAuth 2.0 scopes required: write:classification-levels:admin
string
RequiredMap<LevelId, Sensitivity>
Key value pair of levelId to sensitivity number
object
RequiredReturned if the request is accepted.
1
2
3
4
5
6
7
8
9
curl --request POST \
--url 'https://api.atlassian.com/admin/dlp/v1/orgs/{orgId}/classification-levels/reorder' \
--header 'Content-Type: application/json' \
--data '{
"requestedOrder": {
"ari:cloud:platform::classification-tag/3c3e607b-9e26-4df5-9c4f-bd09dc74404b": 1,
"ari:cloud:platform::classification-tag/571724a1-8ff7-4f53-acb4-b3480338307e": 2
}
}'
Rate this page: