## Documentation

- About
- Read First
  - What is IdentityServer
  - Installation Scenarios
- Migrations
- Bootstrapping
- Configuration & Integration
  - AdminUI Settings
  - Configuring AdminUI
  - Configuring AdminUI (NuGet)
  - Integrating with Identity Server
  - Integrating with Identity Server Custom Schema
  - Integrating with Quickstarts
  - Enabling Logging
- Installation
  - Installer
  - IIS
  - Azure
    - Install in Azure
    - Create Azure Web App
  - Docker
  - NuGet
- Custom Database Connections
- Custom Identity Store
  - Overview
  - Partial Implementation
  - Full Implementation
  - Tenancy With Entity Framework
  - NoSql Implementation (MongoDB)
- Users
  - Searching for Users
  - Adding Users
  - Editing Users
  - Deleting Users
  - Merge Users
  - Set User Password
  - Session Management
  - User Reports
- Roles
  - Creating Roles
  - Managing Roles
  - Managing Users in a Role
- Claim Types
- Clients
  - Searching for Clients
  - Adding Clients
  - Adding a SAML Client
  - Adding a WS-Fed Client
  - Editing Clients
  - Deleting Clients
  - Clone Client
- Import and Export
  - Exporting Clients
  - Importing Clients
  - Importing Client Configuration with Secrets
  - Importing SAML Clients with Certificates
  - Import and Export Via the API
- Dynamic Authentication Providers
  - What is Dynamic Authentication
  - Enabling or disabling Dynamic Authentication
  - Add a Dynamic Provider
    - First Steps
    - Adding OIDC Provider
    - Adding SAML Provider
  - Edit a Dynamic Provider
    - Accessing edit view
    - Editing a OIDC Provider
    - Editing a SAML Provider
  - Deleting a Provider
  - Searching for Provider
- Resources
  - Searching for Resources
  - Creating Resources
  - Editing resources
- Webhooks
  - Webhooks
  - Endpoint Configuration
- User Settings Endpoints
- Access Policy
- Auditing
- FAQs
- Troubleshooting
  - Unable to load AdminUI web page
  - Unable to contact IdentityServer
  - Unable to contact API
  - Unable to log in

### Import and Export Via the API

- -Importing and Exporting via the API
- -Exporting All Clients
- -Exporting Specific Clients
- -Import Validation
- -Complete an Import

## Importing and Exporting via the API

This page describes how to use the import and export features through the API. To make requests to the endpoints below the client making the requests must have the correct access rights.

For more information see the swagger docs on the API at `/swagger`.

## Exporting All Clients

To export all clients in the system, use the following configuration

- URL: `/clients/export`

- Http Method: `POST`

- Content type: `application/vnd.adminui.export-clients-v1+json`

- Return type: `export-clients-v1+json`

## Exporting Specific Clients

To export only a specific set of clients, use the following configuration

- URL: `/clients/export/specified`

- Http Method: `POST`

- Content type: `export-specified-clients-v1+json`

- Return type: `export-clients-v1+json`

- Parameters:

  - `clientIds` (Required) Form data value the name of the value is `clientIds` and the value is a comma separated list of client ids that will be exported

## Import Validation

To validate your import use the following configuration:

- Http Method: `POST`

- Content type: `application/vnd.adminui.import-clients-validation-v1+json`

- Return type: `application/vnd.adminui.import-clients-validation-result-v1+json`

- URL: `http://localhost:5001/clients/import/validate`

An example model can be found in the export documentation here

## Complete an Import

To complete import after validation use the following configuration

- Http Method: `POST`

- Content type: `application/vnd.adminui.import-clients-v1+json`

- URL: `http://localhost:5001/clients/import`

The request body will be the same as the previous model with an appended section for the import configuration.

    "importConfiguration":{
        "clients":[
            {
                "ResourceId":"a46cfa01b4704f16a9fec1cd6cc4b015"
            }
        ],
        "protectedResources":[

        ]
    }

Previous Next