List Identity Mapper Sets

Prev Next
Get
/api/1.0/identity-templates/{envId}/{identityTemplateId}/mapper-sets

List Mapper Sets for a specific Identity Template in the indicated Environment. This API is designed to support List operation for Mapper Sets.

Notice

Accessing the APIs is through a dedicated domain/URL, according to your PlainID Tenant Location
  • United States (US) - `https://api.us1.plainid.io`
  • Canada (CA) - `https://api.ca1.plainid.io`
  • Europe (EU) - `https://api.eu1.plainid.io`

  • Using HTML Encoded Special Characters

    Use HTML encoded patterns when working with values that contain special characters like spaces, dashes, etc. Refer to this HTML URL Encoding Reference for a full list.


    Important note about headers

    Refer to the headers below to modify your cURL sample. Check if the following headers are in the sample, if not, ensure you add it to your API tool.

    Headers

    *Required
    Header Value cURL Line
    Accept `application/json` `-H "Accept:application/json"`

    cURL Sample Guidelines

    In order for the relevant parameters to appear in the cURL sample, you can input the values in the interactive API console on the right in the Try It or Code Sample tabs. You can then copy the cURL sample from the Code Sample tab in the correct format.

    Security
    HTTP
    Type bearer

    For more details about Administration API Authentication, check out the Authentication APIs documentation
    Provide your bearer token in the Authorization header when making requests to protected resources.
    Example: Authorization: Bearer 123

    Path parameters
    envId
    string (uuid) Required

    The Environment ID can be found under the Details Tab in the Environment Settings.

    identityTemplateId
    stringRequired

    The Identity Template ID. This can be found in your Identity Workspace Settings.

    Query parameters
    detailed
    boolean

    When set to true, retrieves the full Mapper Set data.

    includeUnimportedSources
    boolean

    When set to true, retrieves unimported Source mappings.

    Responses
    200

    Successful operation

    Headers
    x-request-id
    string
    The ID of the request
    example
    {
      "data": [
        {
          "mappersSetId": "ms_123456",
          "displayName": "User Mapper Set",
          "description": null
        },
        {
          "mappersSetId": "ms_789012",
          "displayName": "Employee Mapper Set",
          "description": "Mapper set for employee identities"
        },
        {
          "mappersSetId": "ms_345678",
          "displayName": "Contractor Mapper Set",
          "description": null
        },
        {
          "mappersSetId": "ms_901234",
          "displayName": "Partner Mapper Set",
          "description": "Mapper set for partner identities"
        }
      ]
    }
    Expand All
    object

    Response payload for Mapper Sets list

    data
    Array of object (MapperSet)
    object

    Mapper Set

    mapperSetId
    string

    Unique identifier for the Mapper Set

    displayName
    string

    Display name for the Mapper Set

    description
    string

    Description of the Mapper Set

    Max length200
    linkedSources
    Array of object

    List of linked sources for the Mapper Set

    object
    sourceId
    string

    Source identifier. This can be found in the relevant Source in your Identity Workspace Settings.

    sourceUsedAs
    string

    How the source is used in the mapping

    Valid values[ "BASE", "MAIN", "AUX", "CONTEXT" ]
    additionalProps
    object

    Additional properties for the source

    cacheDuration
    integer

    Cache duration in minutes

    isValidateUser
    boolean

    Whether to validate the user in MAIN source only

    mappers
    Array of object

    List of Mappers for the Source

    object
    type
    string

    Type of mapper

    Valid values[ "IDENTITY_ATTRIBUTES", "CORRELATION", "CONTEXT_FILTERS" ]
    mappings
    Array of object

    List of Attribute mappings

    object
    origin
    string

    Origin Attribute or expression

    target
    string

    Target Attribute

    operator
    string

    Operator for correlation (for correlation mappers)

    originMapper
    string

    Origin mapper expression (for context filters mappers)

    isRequired
    boolean

    If the Mapping is required (for context filters mappers)

    isExcludedFromCache
    boolean

    Exclude from cache (for context filters mappers)

    meta
    object (meta)

    Response Meta

    total
    integer

    Total number of records

    limit
    integer

    Limit the number of records returned

    offset
    integer

    The starting point for return of records

    401

    Unauthorized

    Headers
    x-request-id
    string
    The ID of the request
    403

    Forbidden

    Headers
    x-request-id
    string
    The ID of the request
    404

    Object not found

    Headers
    x-request-id
    string
    The ID of the request
    validationError
    {
      "errors": [
        {
          "code": "EMTMS-001",
          "id": "EQ7CMX",
          "status": "404",
          "name": "TemplateMapperSetNotFoundError",
          "message": "Template Mapper Set: [TMS] not found, Hint: did you mean [User, Target]"
        }
      ]
    }
    Expand All
    object

    Response object

    errors
    Array of object (Error)
    object
    code
    string
    id
    string
    status
    integer
    name
    string
    message
    string
    args
    object
    path
    string
    500

    Internal Server Error

    Headers
    x-request-id
    string
    The ID of the request