NiCE DR Management API

: Manage Disaster Recovery configurations for tenants, including secondary tenant mappings and entity sync configurations

GitHub OpenAPI

Operations 3

GET /dr-manager/v1/tenant/{tenantId}/config New in 26.3: Get DR configuration for a tenant #
POST /dr-manager/v1/tenant/{tenantId}/config New in 26.3: Create DR configuration for a tenant #
PATCH /dr-manager/v1/tenant/{tenantId}/config New in 26.3: Update DR configuration for a tenant #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nice:nice-dr-management-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

nice-dr-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nice DR Management API
  version: v1
  description: 'Operations tagged DR Management across 2 of this provider''s published API definitions: nice-cxone-drmanagement.json, nice-cxone-drmanagement-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: DR Management
  description: ': Manage Disaster Recovery configurations for tenants, including secondary tenant mappings and entity sync configurations'
paths:
  /dr-manager/v1/tenant/{tenantId}/config:
    get:
      tags:
      - DR Management
      summary: 'New in 26.3: Get DR configuration for a tenant'
      operationId: getDrConfigByTenantId
      description: This method retrieves the DR configuration for a primary or secondary tenant. If a Primary Tenant ID is passed, the API returns the full configuration directly. If a Secondary Tenant ID is passed, the API first fetches the secondary tenant record which contains the Primary Tenant ID and Configuration ID, then uses the Primary Tenant ID to fetch the primary tenant's configuration record and returns it.
      parameters:
      - $ref: '#/components/parameters/TenantIdPath'
      responses:
        '200':
          description: Successful operation. Configuration details returned.
          headers:
            ETag:
              description: Current version for optimistic locking.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DrConfigResponse'
              examples:
                getDrConfigSuccess:
                  value:
                    tenantId: 11f158c6-69e0-91d0-a3d1-0242ac110003
                    configurationId: eff333c6-7a41-4594-9624-5269425f12ab
                    multiRegionHA: true
                    entitySyncConfiguration:
                    - syncFrequency: DAILY
                      entityType: team
                      domain: platform
                      syncMode: ONE_WAY
                      syncType: STANDARD_SYNC
                    secondaryTenants:
                    - tenantId: 11f158c7-b914-cb80-bd06-0242ac110005
                      tenantName: bcp_temp_jayesh_bcp
                      region: us-west-2
                      billingId: '-1209255825'
                      clusterId: '-1'
                      schemaName: bcp_temp_jayesh_bcp
                    drEnabled: false
                    version: 1
                    originDdbRegion: us-west-2
                    primaryTenantRegion: us-west-2
                    primaryTenantSchema: temp_jayesh_bcp
                    primaryTenantBillingId: '-1671644600'
                    primaryTenantClusterId: '-1'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
    post:
      tags:
      - DR Management
      summary: 'New in 26.3: Create DR configuration for a tenant'
      operationId: createDrConfig
      description: This API is used to create a new Disaster Recovery configuration for a tenant when one does not already exist. It first validates the user's authorization by checking the request tenant against the tenant in the token. If the user is authorized, it checks whether a configuration entity already exists for the given tenant. If no configuration exists, it creates the entity and returns success. If a configuration already exists, it returns an error. The Secondary Tenants array is mandatory and must contain at least one secondary tenant detail.
      parameters:
      - $ref: '#/components/parameters/TenantIdPath'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDrConfigRequest'
            examples:
              createConfig:
                value:
                  secondaryTenants:
                  - tenantId: 8bf73093-40e3-4cf8-a7df-8eb8ab2b6140
                    tenantName: my-secondary-tenant
                    region: ca1
                    billingId: B-1001
                    clusterId: C-2001
                    schemaName: tenant_secondary_schema
                  primaryTenantSchema: tenant_primary_schema
                  primaryTenantBillingId: B-0001
                  primaryTenantClusterId: C-0001
      responses:
        '200':
          description: Successful operation. Configuration created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateDrConfigResponse'
              examples:
                createDrConfigSuccess:
                  value:
                    message: DR Configuration created successfully
                    configurationId: eff333c6-7a41-4594-9624-5269425f12ab
        '400':
          $ref: '#/components/responses/BadRequest'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '500':
          $ref: '#/components/responses/InternalServerError'
    patch:
      tags:
      - DR Management
      summary: 'New in 26.3: Update DR configuration for a tenant'
      operationId: updateDrTenantConfig
      description: 'This method updates the DR configuration for a tenant.

        Update operation is inferred by payload (server-side precedence):


        multiRegionHA


        drEnabled


        entitySyncConfiguration


        secondaryTenants


        syncStart


        ifMatchVersion is required for all update operations.'
      parameters:
      - $ref: '#/components/parameters/TenantIdPath'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/UpdateMultiRegionHARequest'
              - $ref: '#/components/schemas/UpdateDrEnabledRequest'
              - $ref: '#/components/schemas/UpdateSyncConfigRequest'
              - $ref: '#/components/schemas/UpdateSecondaryTenantsRequest'
              - $ref: '#/components/schemas/UpdateSyncStartRequest'
            examples:
              updateMultiRegionHA:
                value:
                  multiRegionHA: true
                  ifMatchVersion: 4
                  secondaryTenants:
                  - tenantId: 8bf73093-40e3-4cf8-a7df-8eb8ab2b6140
                    region: ca1
              updateDrEnabled:
                value:
                  drEnabled: true
                  passkey: my-passkey
                  ifMatchVersion: 4
              updateSyncConfig:
                value:
                  syncStart: true
                  entitySyncConfiguration:
                  - syncMode: OneWay
                    syncFrequency: Daily
                    syncType: Standard
                    domain: platform
                    entityType: team
                  ifMatchVersion: 4
              updateSecondaryTenants:
                value:
                  secondaryTenants:
                  - tenantId: 8bf73093-40e3-4cf8-a7df-8eb8ab2b6140
                    tenantName: my-secondary-tenant
                    region: ca1
                    billingId: B-1001
                    clusterId: C-2001
                    schemaName: tenant_secondary_schema
                  ifMatchVersion: 4
              updateSyncStart:
                value:
                  syncStart: false
                  ifMatchVersion: 4
      responses:
        '204':
          description: Successful operation. Configuration updated successfully (No Content).
        '400':
          $ref: '#/components/responses/BadRequest'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '412':
          $ref: '#/components/responses/PreconditionFailed'
        '500':
          $ref: '#/components/responses/InternalServerError'
        '502':
          $ref: '#/components/responses/BadGateway'
components:
  parameters:
    TenantIdPath:
      name: tenantId
      in: path
      required: true
      description: The unique identifier of the tenant.
      schema:
        type: string
        format: uuid
  schemas:
    UpdateSyncConfigRequest:
      allOf:
      - $ref: '#/components/schemas/UpdateDrConfigRequestBase'
      - type: object
        required:
        - entitySyncConfiguration
        properties:
          syncStart:
            type: boolean
            description: Flag to trigger the start of synchronization.
          entitySyncConfiguration:
            type: array
            items:
              $ref: '#/components/schemas/EntitySyncConfigurationItem'
            description: Updated entity sync configuration.
    UpdateSyncStartRequest:
      allOf:
      - $ref: '#/components/schemas/UpdateDrConfigRequestBase'
      - type: object
        required:
        - syncStart
        properties:
          syncStart:
            type: boolean
            description: Flag to trigger the start of synchronization.
    SecondaryTenantRequest:
      type: object
      required:
      - tenantId
      - region
      properties:
        tenantId:
          type: string
          format: uuid
          description: Unique identifier of the secondary tenant.
        tenantName:
          type: string
          description: Name of the secondary tenant.
        region:
          type: string
          description: Region where the secondary tenant resides.
        billingId:
          type: string
          description: Billing identifier of the secondary tenant.
        clusterId:
          type: string
          description: Cluster identifier of the secondary tenant.
        schemaName:
          type: string
          description: Schema name of the secondary tenant.
    SecondaryTenant:
      type: object
      properties:
        tenantId:
          type: string
          format: uuid
          description: Unique identifier of the secondary tenant.
        tenantName:
          type: string
          description: Name of the secondary tenant.
        region:
          type: string
          description: Region where the secondary tenant resides.
        billingId:
          type: string
          description: Billing identifier of the secondary tenant.
        clusterId:
          type: string
          description: Cluster identifier of the secondary tenant.
        schemaName:
          type: string
          description: Schema name of the secondary tenant.
    ErrorDetail:
      type: object
      properties:
        errorCode:
          type: string
          description: Error code.
        message:
          type: string
          description: Error message.
    DrConfigResponse:
      type: object
      properties:
        tenantId:
          type: string
          format: uuid
          description: Unique identifier of the tenant.
        primaryTenantId:
          type: string
          format: uuid
          description: Unique identifier of the primary tenant.
        configurationId:
          type: string
          format: uuid
          description: Unique identifier of the DR configuration.
        drEnabled:
          type: boolean
          description: Indicates whether Disaster Recovery is enabled.
        version:
          type: integer
          format: int64
          description: Version of the DR configuration record.
        originDdbRegion:
          type: string
          description: Origin DynamoDB region.
        primaryTenantRegion:
          type: string
          description: Region of the primary tenant.
        multiRegionHA:
          type: boolean
          description: Indicates whether multi-region high availability is enabled.
        primaryTenantSchema:
          type: string
          description: Schema of the primary tenant.
        primaryTenantBillingId:
          type: string
          description: Billing identifier of the primary tenant.
        primaryTenantClusterId:
          type: string
          description: Cluster identifier of the primary tenant.
        secondaryTenants:
          type: array
          description: List of secondary tenant mappings.
          items:
            $ref: '#/components/schemas/SecondaryTenant'
        entitySyncConfiguration:
          type: array
          description: List of entity sync configurations.
          items:
            $ref: '#/components/schemas/EntitySyncConfigurationItem'
        syncStart:
          type: boolean
          description: Indicates whether synchronization has been triggered.
    UpdateDrConfigRequestBase:
      type: object
      required:
      - ifMatchVersion
      properties:
        ifMatchVersion:
          type: integer
          format: int64
          minimum: 1
          description: Required for all update operations. Must match the current version of the DR configuration record to prevent concurrent update conflicts.
        passkey:
          type: string
          description: Required when updating the drEnabled flag (unless passkey opt-out is enabled for the deployment). Used for authorization validation.
        primaryTenantBillingId:
          type: string
          description: Billing identifier of the primary tenant.
        primaryTenantClusterId:
          type: string
          description: Cluster identifier of the primary tenant.
    UpdateSecondaryTenantsRequest:
      allOf:
      - $ref: '#/components/schemas/UpdateDrConfigRequestBase'
      - type: object
        required:
        - secondaryTenants
        properties:
          secondaryTenants:
            type: array
            minItems: 1
            items:
              $ref: '#/components/schemas/SecondaryTenantRequest'
            description: Updated list of secondary tenant mappings.
    EntitySyncConfigurationItem:
      type: object
      additionalProperties: true
      description: Arbitrary sync configuration map persisted by service.
      properties:
        syncMode:
          type: string
          enum:
          - OneWay
          - TwoWay
          description: Mode of synchronization.
        syncFrequency:
          type: string
          enum:
          - Daily
          - RealTime
          description: Frequency of synchronization.
        syncType:
          type: string
          enum:
          - Standard
          description: Type of synchronization.
        domain:
          type: string
          description: Domain context for the entity sync.
        entityType:
          type: string
          description: Entity type to sync.
    UpdateDrEnabledRequest:
      allOf:
      - $ref: '#/components/schemas/UpdateDrConfigRequestBase'
      - type: object
        required:
        - drEnabled
        properties:
          drEnabled:
            type: boolean
            description: Flag to enable or disable the Disaster Recovery flag.
          passkey:
            type: string
            description: Optional for opt-out licensed tenants; otherwise required.
    ErrorResponse:
      type: object
      properties:
        code:
          type: string
          example: BAD_REQUEST
          description: Error code.
        details:
          type: string
          description: Detailed error message.
        hostName:
          type:
          - string
          - 'null'
          description: Hostname where the error occurred.
        entityType:
          type:
          - string
          - 'null'
          description: Entity type related to the error.
        errors:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ErrorDetail'
          description: Additional error details.
    CreateDrConfigResponse:
      type: object
      properties:
        message:
          type: string
          description: Success message.
        configurationId:
          type: string
          format: uuid
          description: Unique identifier of the newly created DR configuration.
    CreateDrConfigRequest:
      type: object
      required:
      - secondaryTenants
      - primaryTenantSchema
      properties:
        secondaryTenants:
          type: array
          description: Array of secondary tenant mappings. Must contain at least one entry.
          minItems: 1
          items:
            $ref: '#/components/schemas/SecondaryTenantRequest'
        primaryTenantSchema:
          type: string
          description: Schema of the primary tenant.
        primaryTenantBillingId:
          type: string
          description: Billing identifier of the primary tenant.
        primaryTenantClusterId:
          type: string
          description: Cluster identifier of the primary tenant.
    UpdateMultiRegionHARequest:
      allOf:
      - $ref: '#/components/schemas/UpdateDrConfigRequestBase'
      - type: object
        required:
        - multiRegionHA
        properties:
          multiRegionHA:
            type: boolean
            description: Flag to enable or disable the DR license. Setting to false also sets drEnabled to false.
          secondaryTenants:
            type: array
            minItems: 1
            items:
              $ref: '#/components/schemas/SecondaryTenantRequest'
            description: Updated list of secondary tenants.
  responses:
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            tenantConfigurationNotFound:
              summary: Requested tenant configuration not found
              value:
                code: dr_manager_service_6
                details: The requested tenant configuration was not found.
                hostName: 7100e133a4c3
                entityType: null
                errors: {}
    BadRequest:
      description: Bad request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            secondaryTenantsEmpty:
              summary: Validation error when secondaryTenants is empty
              value:
                code: BAD_REQUEST
                details: Invalid input provided in request
                hostName: 7100e133a4c3
                entityType: null
                errors:
                  secondaryTenants:
                    errorCode: BAD_REQUEST
                    message: Secondary tenants list cannot be empty
    BadGateway:
      description: Bad gateway
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            serviceUnavailable:
              summary: Upstream service unavailable
              value:
                code: Bad Request
                details: Service Unavailable
                hostName: 7100e133a4c3
                entityType: null
                errors: {}
    Forbidden:
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            accessDenied:
              summary: Access denied
              value:
                code: Access Denied
                details: Access is denied
                hostName: 7100e133a4c3
                entityType: null
                errors: {}
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            unsupportedContentType:
              summary: Unsupported content type
              value:
                code: Bad Request
                details: Content-Type 'text/plain;charset=UTF-8' is not supported
                hostName: 7100e133a4c3
                entityType: null
                errors: {}
    PreconditionFailed:
      description: Precondition failed (optimistic lock/ETag mismatch)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            etagMismatch:
              summary: ETag/version mismatch
              value:
                code: dr_manager_service_8
                details: Precondition failed. The provided ETag does not match the current version
                hostName: 7100e133a4c3
                entityType: null
                errors: {}
    Conflict:
      description: Conflict
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            configurationAlreadyExists:
              summary: DR configuration already exists for one or more tenants
              value:
                code: CONFLICT
                details: DR Configuration already exists for the given details
                hostName: 7100e133a4c3
                entityType: DrConfigEntity
                errors:
                  11f158c6-69e0-91d0-a3d1-0242ac110003:
                    errorCode: CONFIGURATION_ALREADY_EXISTS
                    message: 'DR Configuration already exists for tenant ID: 11f158c6-69e0-91d0-a3d1-0242ac110003'
                  11f158c7-b914-cb80-bd06-0242ac110005:
                    errorCode: CONFIGURATION_ALREADY_EXISTS
                    message: 'DR Configuration already exists for tenant ID: 11f158c7-b914-cb80-bd06-0242ac110005'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- nice-cxone-drmanagement.json
- nice-cxone-drmanagement-openapi.yml