A policy is a set of rules that apply to a specific area and a particular group, allowing an organization to ensure a basic level of compliance, security, and behavior. All policies have their own distinct set of rules and specifies the types of resources that can be associated with it.
Returns comprehensive details on organizational policies, including both rules and resources.
string
Requiredstring
Models.PolicyType
The request has succeeded.
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/admin/control/v1/orgs/{orgId}/policies' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"data": [
{}
],
"meta": {
"next": "<string>",
"page_size": 25
},
"links": {
"self": "<string>",
"prev": "<string>",
"next": "<string>"
}
}
Create a policy aligned with your organization's standards.
string
RequiredoneOf [object, object, object]
RequiredThe request has been accepted for processing, but processing has not yet completed.
1
2
3
4
5
6
7
8
curl --request POST \
--url 'https://api.atlassian.com/admin/control/v1/orgs/{orgId}/policies' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"data": {}
}'
1
2
3
{
"data": {}
}
Returns information about a policy by policyId.
string
Requiredstring
RequiredThe request has succeeded.
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/admin/control/v1/orgs/{orgId}/policies/{policyId}' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
1
2
3
{
"data": {}
}
Update a policy with a policyId.
string
Requiredstring
RequiredoneOf [object, object, object]
RequiredThe request has been accepted for processing, but processing has not yet completed.
1
2
3
4
5
6
7
8
curl --request PUT \
--url 'https://api.atlassian.com/admin/control/v1/orgs/{orgId}/policies/{policyId}' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"data": {}
}'
1
2
3
{
"data": {}
}
Delete a policy with a policyId
string
Requiredstring
RequiredThe request has been accepted for processing, but processing has not yet completed.
1
2
3
curl --request DELETE \
--url 'https://api.atlassian.com/admin/control/v1/orgs/{orgId}/policies/{policyId}' \
--header 'Authorization: Bearer <access_token>'
Validate a policy to view potential issues in your policy
string
Requiredstring
RequiredThe request has been accepted for processing, but processing has not yet completed.
1
2
3
curl --request GET \
--url 'https://api.atlassian.com/admin/control/v1/orgs/{orgId}/policies/{policyId}/validate' \
--header 'Authorization: Bearer <access_token>'
Rate this page: