Migrate Policy Data

Migrate policy data.

post

Migrate policy data. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
vcsstring[]Required
vpsstring[]Required
schemasobjectRequired
groupsobjectRequired
rolesobjectRequired
Responses
200

Errors while migration.

application/json
post
/policies/migrate-data
POST /api/v1/policies/migrate-data HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 106

{
  "policies": {
    "src": "text",
    "dst": "text"
  },
  "vcs": [
    "text"
  ],
  "vps": [
    "text"
  ],
  "schemas": {},
  "groups": {},
  "roles": {}
}
[
  {
    "error": "text",
    "id": "text"
  }
]

Last updated