POST
/v1/mgmt/project/import

Authorization

AuthorizationRequiredBearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

application/jsonRequired
filesobject
excludesarray<string>
inputSecretsobject
curl -X POST "https://api.descope.com/v1/mgmt/project/import" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "files": {},
    "excludes": [
      "string"
    ],
    "inputSecrets": {
      "connectors": [
        {
          "id": "string",
          "name": "string",
          "type": "string",
          "value": "string"
        }
      ],
      "oauthProviders": [
        {
          "id": "string",
          "name": "string",
          "type": "string",
          "value": "string"
        }
      ],
      "outboundApps": [
        {
          "id": "string",
          "name": "string",
          "type": "string",
          "value": "string"
        }
      ]
    }
  }'

OK

Was this helpful?