Skip to main content

providers_saml_metadata_retrieve

GET 

/api/v3//providers/saml/:id/metadata/

Return metadata as XML string

Request

Path Parameters

    id integerrequired

    A unique integer value identifying this SAML Provider.

Query Parameters

    download boolean
    force_binding string

    Possible values: [urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST, urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect]

    Optionally force the metadata to only include one binding.

Responses

Schema
    metadatastringrequired
    download_urlstringrequired

Authorization: http

name: authentiktype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/api/v3/providers/saml/:id/metadata/");
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());
Request Collapse all
Base URL
/api/v3
Auth
Parameters
— pathrequired
— query
— query