Get Policy Preferences
Get Policy Preferences returns a policy preferences by ID and version
Path Parameters
- 200
- 400
- 401
- 403
- 404
- 500
- default
A successful response.
Schema
- Array [
- ]
- Array [
- ]
appeal object
durationOptions object[]
List of duration options
Name of the duration option
Actual value of duration such as 24h, 72h. value will be 0h in case of permanent duration. Valid time units are ns, us (or µs). Reference: ParseDuration
Set this to true if you want to allow users to have permanent access to the resources. Default is false
Duration before the access expiration date when the user allowed to create appeal to the same resource (extend their current access). Valid time units are ns, us (or µs), ms, s, m, h
questions object[]
List of questions to be asked to the appeal creator
Unique key of the question
Question to be asked to the appeal creator
Whether the question is required or not
The description to be shown to the appeal creator
{
"appeal": {
"durationOptions": [
{
"name": "string",
"value": "string"
}
],
"allowOnBehalf": true,
"allowPermanentAccess": true,
"allowActiveAccessExtensionIn": "string",
"questions": [
{
"key": "string",
"question": "string",
"required": true,
"description": "string"
}
],
"allowCreatorDetailsFailure": true
}
}
Bad Request - The request was malformed or contained invalid parameters.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Unauthorized - Authentication is required
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Forbidden - User does not have permission to access the resource
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Not Found - The requested resource was not found
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Internal Server Error. Returned when theres is something wrong with Frontier server.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}