Get mapper by id for the identity provider
GEThttps://app.phasetwo.io/realms/:realm/orgs/:orgId/idps/:alias/mappers/:id
Get mapper by id for the identity provider
Request
Path Parameters
realm stringrequired
realm name (not id!)
orgId stringrequired
organization id
alias stringrequired
id stringrequired
Mapper id
Responses
- 200
success
- application/json
- Schema
- Example (auto)
Schema
config object
idstring
identityProviderAliasstring
identityProviderMapperstring
namestring
{
"config": {},
"id": "string",
"identityProviderAlias": "string",
"identityProviderMapper": "string",
"name": "string"
}
Authorization: http
name: access_tokentype: httpscheme: bearerbearerFormat:
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://app.phasetwo.io/realms/:realm/orgs/:orgId/idps/:alias/mappers/:id");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear