Deploy API Service
POST {{apiPath}}/environments/{{envID}}/apiServers/{{apiServerID}}/deployment
The POST /environments/{{envID}}/apiServers/{{apiServerID}}/deployment
request deploys an API service's managed policies.
Prerequisites
- To create an API service, see Create API Service.
- To find an existing API service, see Read API Services.
For property descriptions, see API Service Deployment.
Property | Type? | Required? |
---|---|---|
decisionEndpoint.id | String | Required |
status.code | String | Required |
status.error | Object | Optional |
status.error.id | String | Required |
status.error.code | String | Required |
status.error.message | String | Required |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/apiServers/a82aa1c1-1a8e-4b6e-a43e-2266ebd57626/deployment"},"environment":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"apiServer":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/apiServers/a82aa1c1-1a8e-4b6e-a43e-2266ebd57626"},"decisionEndpoint":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/decisionEndpoints/4a3df58c-e3a4-4000-853b-32aa2a8ae9d2"}},"deployedAt":"2024-04-10T22:46:28.237Z","status":{"code":"DEPLOYMENT_SUCCESSFUL"},"decisionEndpoint":{"id":"4a3df58c-e3a4-4000-853b-32aa2a8ae9d2"}}