v4
latestOpenAPI 3.1.02026-08-02261331761.5 KBPolicy Decision Points
Migrate PDP Config number of shards
The migration process is as followed:
- Perform request to this endpoint with the new number of shards
- A new PDP Config will be created with the new number of shards and a new api-key
- Create a new PDP cluster with the same instances as the number of shards defined in the new PDP Config
- Wait for the new PDP cluster to be ready
- Update your PDP load balancer to point to the new PDP cluster
More info can be found here https://docs.permit.io/concepts/pdp-sharding
post/v2/pdps/{proj_id}/{env_id}/configs/migrate-shards
Path parameters
proj_idstring required
Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").
Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").
env_idstring required
Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").
Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").
Request body
Response
Successful Response