okta.authorizationServers.read
Lists all policies
Success
Forbidden
Not Found
Too Many Requests
[- {
- "type": "OAUTH_AUTHORIZATION_POLICY",
- "id": "00palyaappA22DPkj0h7",
- "status": "ACTIVE",
- "name": "Vendor2 Policy",
- "description": "Vendor2 policy description",
- "priority": 1,
- "system": false,
- "conditions": {
- "clients": {
- "include": [
- "ALL_CLIENTS"
]
}
}, - "created": "2017-05-26T19:43:53.000Z",
- "lastUpdated": "2017-06-07T15:28:17.000Z",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "PUT",
- "DELETE"
]
}
}, - "deactivate": {
- "hints": {
- "allow": [
- "POST"
]
}
}, - "rules": {
- "hints": {
- "allow": [
- "GET"
]
}
}
}
}
]
okta.authorizationServers.manage
Creates a policy
Created
Bad Request
Forbidden
Not Found
Too Many Requests
{- "type": "OAUTH_AUTHORIZATION_POLICY",
- "status": "ACTIVE",
- "name": "Default Policy",
- "description": "Default policy description",
- "priority": 1,
- "system": false,
- "conditions": {
- "clients"": {
- "include"": [
- "ALL_CLIENTS"
]
}
}
}
{- "type": "OAUTH_AUTHORIZATION_POLICY",
- "id": "00palyaappA22DPkj0h7",
- "status": "ACTIVE",
- "name": "Vendor2 Policy",
- "description": "Vendor2 policy description",
- "priority": 1,
- "system": false,
- "conditions": {
- "clients": {
- "include": [
- "ALL_CLIENTS"
]
}
}, - "created": "2017-05-26T19:43:53.000Z",
- "lastUpdated": "2017-06-07T15:28:17.000Z",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "PUT",
- "DELETE"
]
}
}, - "deactivate": {
- "hints": {
- "allow": [
- "POST"
]
}
}, - "rules": {
- "hints": {
- "allow": [
- "GET"
]
}
}
}
}
okta.authorizationServers.read
Retrieves a policy
Success
Forbidden
Not Found
Too Many Requests
{- "type": "OAUTH_AUTHORIZATION_POLICY",
- "id": "00palyaappA22DPkj0h7",
- "status": "ACTIVE",
- "name": "Vendor2 Policy",
- "description": "Vendor2 policy description",
- "priority": 1,
- "system": false,
- "conditions": {
- "clients": {
- "include": [
- "ALL_CLIENTS"
]
}
}, - "created": "2017-05-26T19:43:53.000Z",
- "lastUpdated": "2017-06-07T15:28:17.000Z",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "PUT",
- "DELETE"
]
}
}, - "deactivate": {
- "hints": {
- "allow": [
- "POST"
]
}
}, - "rules": {
- "hints": {
- "allow": [
- "GET"
]
}
}
}
}
okta.authorizationServers.manage
Replaces a policy
Success
Bad Request
Forbidden
Not Found
Too Many Requests
{- "id": "00p5m9xrrBffPd9ah0g4",
- "type": "OAUTH_AUTHORIZATION_POLICY",
- "status": "ACTIVE",
- "name": "Default Policy",
- "description": "Default policy description",
- "priority": 1,
- "system": false,
- "conditions": {
- "clients"": {
- "include"": [
- "ALL_CLIENTS"
]
}
}
}
{- "type": "OAUTH_AUTHORIZATION_POLICY",
- "id": "00palyaappA22DPkj0h7",
- "status": "ACTIVE",
- "name": "Vendor2 Policy",
- "description": "Vendor2 policy description",
- "priority": 1,
- "system": false,
- "conditions": {
- "clients": {
- "include": [
- "ALL_CLIENTS"
]
}
}, - "created": "2017-05-26T19:43:53.000Z",
- "lastUpdated": "2017-06-07T15:28:17.000Z",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "PUT",
- "DELETE"
]
}
}, - "deactivate": {
- "hints": {
- "allow": [
- "POST"
]
}
}, - "rules": {
- "hints": {
- "allow": [
- "GET"
]
}
}
}
}
okta.authorizationServers.manage
Deletes a policy
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}
okta.authorizationServers.manage
Activates an authorization server policy
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}
okta.authorizationServers.manage
Deactivates an authorization server policy
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}