Import Identity Profiles
POST/identity-profiles/import
This imports previously exported identity profiles.
Request
- application/json
Body
array
required
Previously exported Identity Profiles.
Array [
Array [
]
]
Version or object from the target service.
self
object
Self block for imported/exported object.
Possible values: [ACCESS_PROFILE
, ACCESS_REQUEST_CONFIG
, ATTR_SYNC_SOURCE_CONFIG
, AUTH_ORG
, CAMPAIGN_FILTER
, FORM_DEFINITION
, GOVERNANCE_GROUP
, IDENTITY_OBJECT_CONFIG
, IDENTITY_PROFILE
, LIFECYCLE_STATE
, NOTIFICATION_TEMPLATE
, PASSWORD_POLICY
, PASSWORD_SYNC_GROUP
, PUBLIC_IDENTITIES_CONFIG
, ROLE
, RULE
, SEGMENT
, SERVICE_DESK_INTEGRATION
, SOD_POLICY
, SOURCE
, TAG
, TRANSFORM
, TRIGGER_SUBSCRIPTION
, WORKFLOW
]
Imported/exported object's DTO type. Import is currently only possible with the IDENTITY_OBJECT_CONFIG, IDENTITY_PROFILE, RULE, SOURCE, TRANSFORM, and TRIGGER_SUBSCRIPTION object types.
Imported/exported object's ID.
Imported/exported object's display name.
object
object
Name of the Object
The description of the Identity Profile.
owner
object
nullable
The owner of the Identity Profile.
Possible values: [IDENTITY
]
Type of the object to which this reference applies
ID of the object to which this reference applies
Human-readable display name of the object to which this reference applies
The priority for an Identity Profile.
authoritativeSource
object
required
Possible values: [SOURCE
]
Type of the object to which this reference applies
ID of the object to which this reference applies
Human-readable display name of the object to which this reference applies
True if a identity refresh is needed. Typically triggered when a change on the source has been made.
The number of identities that belong to the Identity Profile.
identityAttributeConfig
object
Defines all the identity attribute mapping configurations. This defines how to generate or collect data for each identity attributes in identity refresh process.
The backend will only promote values if the profile/mapping is enabled.
attributeTransforms
object[]
Name of the identity attribute.
transformDefinition
object
The seaspray transformation definition.
The type of the transform definition.
attributes
object
Arbitrary key-value pairs to store any metadata for the object
Arbitrary key-value pairs to store any metadata for the object
identityExceptionReportReference
object
nullable
The id of the task result.
The name of the report.
Indicates the value of requiresPeriodicRefresh attribute for the Identity Profile.
Responses
- 200
- 400
- 401
- 403
- 429
- 500
The result of importing Identity Profiles.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
Array [
]
infos
object[]
required
Informational messages returned from the target service on import.
Message key.
Message text.
details
object
required
Message details if any, in key:value pairs.
warnings
object[]
required
Warning messages returned from the target service on import.
Message key.
Message text.
details
object
required
Message details if any, in key:value pairs.
errors
object[]
required
Error messages returned from the target service on import.
Message key.
Message text.
details
object
required
Message details if any, in key:value pairs.
importedObjects
object[]
required
References to objects that were created or updated by the import.
Possible values: [IDENTITY_OBJECT_CONFIG
, IDENTITY_PROFILE
, RULE
, SOURCE
, TRANSFORM
, TRIGGER_SUBSCRIPTION
]
DTO type of object created or updated by import.
ID of object created or updated by import.
Display name of object created or updated by import.
{
"infos": [
{
"key": "UNKNOWN_REFERENCE_RESOLVER",
"text": "Unable to resolve reference for object [type: IDENTITY, id: 2c91808c746e9c9601747d6507332ecz, name: random identity]",
"details": {
"details": "message details"
}
}
],
"warnings": [
{
"key": "UNKNOWN_REFERENCE_RESOLVER",
"text": "Unable to resolve reference for object [type: IDENTITY, id: 2c91808c746e9c9601747d6507332ecz, name: random identity]",
"details": {
"details": "message details"
}
}
],
"errors": [
{
"key": "UNKNOWN_REFERENCE_RESOLVER",
"text": "Unable to resolve reference for object [type: IDENTITY, id: 2c91808c746e9c9601747d6507332ecz, name: random identity]",
"details": {
"details": "message details"
}
}
],
"importedObjects": [
{
"type": "SOURCE",
"id": "2c9180835d191a86015d28455b4b232a",
"name": "HR Active Directory"
}
]
}
Client Error - Returned if the request body is invalid.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Fine-grained error code providing more detail of the error.
Unique tracking id for the error.
messages
object[]
Generic localized reason for error
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
causes
object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the error
{
"error": "JWT validation failed: JWT is expired"
}
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
- application/json
- Schema
- Example (from schema)
- 403
Schema
Array [
]
Array [
]
Fine-grained error code providing more detail of the error.
Unique tracking id for the error.
messages
object[]
Generic localized reason for error
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
causes
object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
An example of a 403 response object
{
"detailCode": "403 Forbidden",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The server understood the request but refuses to authorize it."
}
]
}
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the error
{
"message": " Rate Limit Exceeded "
}
Internal Server Error - Returned if there is an unexpected error.
- application/json
- Schema
- Example (from schema)
- 500
Schema
Array [
]
Array [
]
Fine-grained error code providing more detail of the error.
Unique tracking id for the error.
messages
object[]
Generic localized reason for error
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
causes
object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
An example of a 500 response object
{
"detailCode": "500.0 Internal Fault",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "An internal fault occurred."
}
]
}