Deployment
The PingOne /environments/{{envID}}/apiServers/{{apiServerID}}/deployment endpoint provides operations to read and deploy an API service resource.
To create, modify, or delete an API service resource, refer to API services.
API service deployment data model
| Property | Type? | Required? | Mutable? | Description |
|---|---|---|---|---|
|
Object |
Optional |
Mutable |
Defines if the operation will use custom policy rather than the "Group" or "Scope" |
|
Boolean |
Optional |
Mutable |
If |
|
String |
Optional |
Read-only |
The UUID of the last deployed policy authorization version. This is present only if custom polcies are enabled and the API service has been deployed at least once. |
|
String |
Required |
Read-only |
The UUID of the decision endpoint. |
|
Date |
Optional |
Read-only |
The time of most recent successful deployment. Null if the API service has never been successfully deployed. |
|
String |
Optional |
Read-only |
The ID of the root policy. |
|
String |
Required |
Read-only |
The deployment status code. For possible values, refer to Deployment status codes. |
|
Object |
Optional |
Read-only |
Error details returned if the last deployment request failed. |
|
String |
Required |
Read-only |
A unique identifier for the error. |
|
String |
Required |
Read-only |
A general fault code that identifies the the type of error. Refer to Error codes. |
|
String |
Required |
Read-only |
A short human-readable description of the error. |
API service deployment codes
| Status code | Description |
|---|---|
|
The policy bundle for the API service’s managed policies is being created. |
|
A decision endpoint is being created for the API service. |
|
The API service’s decision endpoint is being updated. |
|
The API service’s policies have been successfully deployed. |
|
HAP-MGMT was unable to deploy the API service’s policies. |
|
A deployment has not yet been attempted. |