Use the PUT /sp/targetUrlMappings endpoint to update the mappings between URLs and adapters or connections instances.

Error status codes

Code Reason
200 Mapping updated.
400 The request was improperly formatted or contained invalid fields.
403 PingFederate does not have its SP role enabled. Operation not available.
422 Validation error(s) occurred.

Class model

SpUrlMappings - The actual list of SP connection URL mappings.

Property Type Description
items array[SpUrlMapping] The actual list of SP connection URL mappings.

SpUrlMapping - SP URL mapping

Property Type Description
ref ResourceLink The adapter or connection instance mapped for this URL.
type TargetUrlSource The URL mapping type
url string The URL that will be compared against the target URL. Use a wildcard (*) to match multiple URLs to the same adapter or connection instance.

ResourceLink - A reference to a resource.

Property Type Description
id * string The ID of the resource.
location string A read-only URL that references the resource. If the resource is not currently URL-accessible, this property will be null.