{ "info": { "_postman_id": "ba97d3f8-6a33-432a-89f3-eed8e7849ac3", "name": "Data Loss Prevention", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" }, "item": [ { "name": "Classification Level", "description": "Classification Level APIs\"", "item": [ { "name": "Get all classification levels by orgId", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}orgs/:orgId/classification-levels", "query": [], "variable": [ { "key": "orgId", "value": "{{orgId}}", "description": "Your organization is identified by a Unique ID. You get your organization ID and Organization API key simultaneously.", "disabled": false } ] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Gets all [classification levels](/cloud/admin/dlp/rest/intro/#classification%20level) in an organization." }, "response": [] }, { "name": "Create a new classification level", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}orgs/:orgId/classification-levels", "query": [], "variable": [ { "key": "orgId", "value": "{{orgId}}", "description": "Your organization is identified by a Unique ID. You get your organization ID and Organization API key simultaneously.", "disabled": false } ] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" } ], "description": "Creates a draft [classification level](cloud/admin/dlp/rest/intro/#classification%20level) for an organization.", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Get a classification level", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}orgs/:orgId/classification-levels/:levelId", "query": [], "variable": [ { "key": "levelId", "value": "{{levelId}}", "description": "Unique ID associated with the classification level obtained during its creation.", "disabled": false }, { "key": "orgId", "value": "{{orgId}}", "description": "Your organization is identified by a Unique ID. You get your organization ID and Organization API key simultaneously.", "disabled": false } ] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Gets a [classification level](/cloud/admin/dlp/rest/intro/#classification%20level) with the supplied levelId." }, "response": [] }, { "name": "Edit a classification level", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}orgs/:orgId/classification-levels/:levelId", "query": [], "variable": [ { "key": "levelId", "value": "{{levelId}}", "description": "Unique ID associated with the classification level, obtained during its creation.", "disabled": false }, { "key": "orgId", "value": "{{orgId}}", "description": "Your organization is identified by a Unique ID. You get your organization ID and Organization API key simultaneously.", "disabled": false } ] }, "method": "PUT", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" } ], "description": "Edits a [classification level](/cloud/admin/dlp/rest/intro/#classification%20level) with the supplied levelId.", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Publish classification level(s)", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}orgs/:orgId/classification-levels/publish", "query": [], "variable": [ { "key": "orgId", "value": "{{orgId}}", "description": "Your organization is identified by a Unique ID. You get your organization ID and Organization API key simultaneously.", "disabled": false } ] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" } ], "description": "Publishes one or more [classification level](/cloud/admin/dlp/rest/intro/#classification%20level) with the supplied levelIds.", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Archive a data classification level", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}orgs/:orgId/classification-levels/archive", "query": [], "variable": [ { "key": "orgId", "value": "{{orgId}}", "description": "Your organization is identified by a Unique ID. You get your organization ID and Organization API key simultaneously.", "disabled": false } ] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" } ], "description": "Archives a [classification level](/cloud/admin/dlp/rest/intro/#classification%20level) with the supplied levelId (batch not currently supported).\n When you archive a published classification level:\n - Users won’t be able to classify pages at this level\n - Any page or issues classified at this level will become unclassified\n - Pages and issues will retain history\n\nIn the event that the classification level is restored and published, those pages and issues will regain this classification level.", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Restore a classification level", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}orgs/:orgId/classification-levels/restore", "query": [], "variable": [ { "key": "orgId", "value": "{{orgId}}", "description": "Your organization is identified by a Unique ID. You get your organization ID and Organization API key simultaneously.", "disabled": false } ] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" } ], "description": "Restores a [classification level](/cloud/admin/dlp/rest/intro/#classification%20level) with supplied levelId. When you restore an archived classification level, it’s restored as a draft. \n\nWhen you’re ready for your users to start classifying Confluence pages and Jira issues, you can publish the classification level.\n\nIf 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.", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Reorder classification levels", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}orgs/:orgId/classification-levels/reorder", "query": [], "variable": [ { "key": "orgId", "value": "{{orgId}}", "description": "Your organization is identified by a Unique ID. You get your organization ID and Organization API key simultaneously.", "disabled": false } ] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" } ], "description": "Changes the order of [classification levels](/cloud/admin/dlp/rest/intro/#classification%20level). The most sensitive classification level should be ranked 1.", "body": { "mode": "raw", "raw": "" } }, "response": [] } ] } ], "variable": [ { "key": "protocol", "name": "Protocol", "description": "The HTTP Protocol that should be used for this REST API.", "type": "string", "value": "https" }, { "key": "host", "name": "Host", "description": "The HTTP host that should be used for this REST API.", "type": "string", "value": "api.atlassian.com" }, { "key": "basePath", "name": "Base Path", "description": "The path, after the host, of the base of the REST API.", "type": "string", "value": "admin/dlp/v1/" } ] }