Download OpenAPI specification:Download
| Main Tags | Most Popular Pages |
|---|---|
|
➤
Welcome
➤ Prerequisites ➤ Access Token ➤ Updates ➤ APIs Developer Guide ➤ Appendix |
➤
Authentication
➤ Service Plans ➤ Account Management ➤ Billing Management ➤ Access Control ➤ Operator Logs ➤ Advanced Reports |
The Policy Module provides functionality to create, retrieve, update, and delete policies. It enables administrators to manage policy configurations and maintain policy information through centralized policy management APIs.
Business applications can use this service API to add policy for Users. An admin who has permissions to manage Policies in his role, can add new policy.
| type required | string Allowed Value: |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of first authenticating with a client certificate to receive a subject token, then exchange the subject token using the Token Exchange endpoint. The certificate must belong to a SigningHub Administrator authorized to perform this action. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| x-forwarded-for | string Client IP address, typically set by reverse proxy or load balancer |
| Accept-Language | string Preferred language (e.g., en-US, ar-SA) |
| name required | string [ 1 .. 255 ] characters |
| status required | boolean True if enabled, False if disabled |
Array of objects or null (Models.PolicyDetailRequest) List of policy details |
{- "name": "string",
- "status": true,
- "policy_detail": [
- {
- "attribute_name": "string",
- "attribute_value": "string"
}
]
}{- "id": 0,
- "created_on": "string"
}Business applications can use this service API to get all policies for Users.
| type required | string Allowed Value: |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of first authenticating with a client certificate to receive a subject token, then exchange the subject token using the Token Exchange endpoint. The certificate must belong to a SigningHub Administrator authorized to perform this action. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| x-forwarded-for | string Client IP address, typically set by reverse proxy or load balancer |
| Accept-Language | string Preferred language (e.g., en-US, ar-SA) |
[- {
- "id": 0,
- "name": "string",
- "status": true,
- "created_on": "string",
- "policy_detail": [
- {
- "attribute_name": "string",
- "attribute_value": "string"
}
]
}
]Business applications can use this service API to update policy for Users. An admin who has permissions to manage Policies in his role, can update policy.
| type required | string Allowed Value: |
| id required | integer <int64> |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of first authenticating with a client certificate to receive a subject token, then exchange the subject token using the Token Exchange endpoint. The certificate must belong to a SigningHub Administrator authorized to perform this action. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| x-forwarded-for | string Client IP address, typically set by reverse proxy or load balancer |
| Accept-Language | string Preferred language (e.g., en-US, ar-SA) |
| name required | string [ 1 .. 255 ] characters |
| status required | boolean True if enabled, False if disabled |
Array of objects or null (Models.PolicyDetailRequest) List of policy details |
{- "name": "string",
- "status": true,
- "policy_detail": [
- {
- "attribute_name": "string",
- "attribute_value": "string"
}
]
}{- "message": "string"
}Business applications can use this service API to get policy by id for Users.
| type required | string Allowed Value: |
| id required | integer <int64> |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of first authenticating with a client certificate to receive a subject token, then exchange the subject token using the Token Exchange endpoint. The certificate must belong to a SigningHub Administrator authorized to perform this action. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| x-forwarded-for | string Client IP address, typically set by reverse proxy or load balancer |
| Accept-Language | string Preferred language (e.g., en-US, ar-SA) |
{- "id": 0,
- "name": "string",
- "status": true,
- "created_on": "string",
- "policy_detail": [
- {
- "attribute_name": "string",
- "attribute_value": "string"
}
]
}Business applications can use this service API to delete policy for Users.
| type required | string Allowed Value: |
| id required | integer <int64> |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of first authenticating with a client certificate to receive a subject token, then exchange the subject token using the Token Exchange endpoint. The certificate must belong to a SigningHub Administrator authorized to perform this action. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| x-forwarded-for | string Client IP address, typically set by reverse proxy or load balancer |
| Accept-Language | string Preferred language (e.g., en-US, ar-SA) |
{- "message": "string"
}