コンテンツにスキップ

Create a persistent identifier profile.

POST
/api/admin/field-mapping/persistent-identifier-profiles
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/admin/field-mapping/persistent-identifier-profiles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "profileKey": "saml-persistent-id", "displayName": "SAML persistent NameID", "protocolScope": "saml", "algorithm": "shibboleth_sha1_base64", "audienceMode": "saml_sp_entity_id" }'

Creates a persistent identifier profile used to derive SAML NameID values, OIDC pairwise subjects, or generic opaque identifiers. The response is wrapped as { result }.

Media type application/json
object
profileKey
string
displayName
required
string
description
string | null
mode
string
Allowed values: computed stored imported
algorithm
string
Allowed values: authrim_sha256_base64url shibboleth_sha1_base64 stored imported
protocolScope
string
Allowed values: any saml oidc generic
usage
Array<string>
sourceRef
object
key
additional properties
secretRef
string
issuerEntityId
string | null
audienceMode
string
Allowed values: runtime saml_sp_entity_id oidc_sector_identifier
format
object
key
additional properties
lifecycleState
string
key
additional properties
Example
{
"profileKey": "saml-persistent-id",
"displayName": "SAML persistent NameID",
"protocolScope": "saml",
"algorithm": "shibboleth_sha1_base64",
"audienceMode": "saml_sp_entity_id"
}

Persistent identifier profile mutation response.

Media type application/json
object
result
required
object
id
required
string
tenantId
required
string
profileKey
required
string
displayName
required
string
description
string | null
mode
required
string
algorithm
required
string
protocolScope
required
string
usage
required
Array<string>
sourceRef
object | null
secretRef
string | null
issuerEntityId
string | null
audienceMode
required
string
format
required
object
key
additional properties
lifecycleState
required
string
createdAt
required
integer
updatedAt
required
integer
key
additional properties
key
additional properties
Example generated
{
"result": {
"id": "example",
"tenantId": "example",
"profileKey": "example",
"displayName": "example",
"description": "example",
"mode": "example",
"algorithm": "example",
"protocolScope": "example",
"usage": [
"example"
],
"sourceRef": "example",
"secretRef": "example",
"issuerEntityId": "example",
"audienceMode": "example",
"format": {
"additionalProperty": "example"
},
"lifecycleState": "example",
"createdAt": 1,
"updatedAt": 1
}
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}