Identity Providers
Operations related to Identity Providers, the external authentication services that can authenticate platform users. Support integration with enterprise SSO systems (SAML, OAuth, OpenID Connect) for centralized user authentication, enabling secure single sign-on and standardized access control across organizations while maintaining security policies and audit trails.
Get the organisations binded to an identity provider
The id of the community in which the search is performed
The id of the identity provider
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/community/{community_id}/identity_providers/{identity_provider_id}/organisations HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": [
{
"last_modified_ts": 0,
"community_id": "text",
"market_id": "text",
"id": "text",
"technical_name": "text",
"archived": false,
"administrator_id": "text",
"name": "text",
"created_by": "text",
"created_ts": 0,
"last_modified_by": "text",
"type": "CUSTOMER",
"enabled_features": [
{
"feature_name": "text",
"enable_on": "text"
}
]
}
],
"count": 1
}The id of the community in which the search is performed
The id of the concerned identity provider
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/community/{community_id}/identity_providers/{identity_provider_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"id": "text",
"entity_id": "text",
"name": "text",
"status": "READY",
"last_modified_ts": 0,
"want_assertions_signed": false,
"metadata_source": "URL",
"created_ts": 0,
"created_by": "text",
"redirect_url": "text",
"last_modified_by": "text",
"description": "text",
"archived": false,
"provider_type": "SAML_V2_0",
"community_id": "text",
"metadata_xml_url": "text",
"post_logout_redirect_uri": "text"
}
}The id of the community in which the search is performed
The id of the concerned identity provider
0false0falseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/community/{community_id}/identity_providers/{identity_provider_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 235
{
"name": "text",
"status": "READY",
"want_assertions_signed": false,
"metadata_source": "URL",
"description": "text",
"archived": false,
"provider_type": "SAML_V2_0",
"community_id": "text",
"metadata_xml_url": "text",
"post_logout_redirect_uri": "text"
}{
"status": "ok",
"data": {
"id": "text",
"entity_id": "text",
"name": "text",
"status": "READY",
"last_modified_ts": 0,
"want_assertions_signed": false,
"metadata_source": "URL",
"created_ts": 0,
"created_by": "text",
"redirect_url": "text",
"last_modified_by": "text",
"description": "text",
"archived": false,
"provider_type": "SAML_V2_0",
"community_id": "text",
"metadata_xml_url": "text",
"post_logout_redirect_uri": "text"
}
}Delete an identity provider by id
The id of the community in which the search is performed
The id of the concerned identity provider
Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/community/{community_id}/identity_providers/{identity_provider_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Binds an identity provider to an organisation
The id of the organisation in which the identity provider will be binded.
The id of the identity provider which will be binded to the organisation.
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/organisations/{organisation_id}/identity_providers/{identity_provider_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"last_modified_ts": 0,
"community_id": "text",
"market_id": "text",
"id": "text",
"technical_name": "text",
"archived": false,
"administrator_id": "text",
"name": "text",
"created_by": "text",
"created_ts": 0,
"last_modified_by": "text",
"type": "CUSTOMER",
"enabled_features": [
{
"feature_name": "text",
"enable_on": "text"
}
]
}
}Unbinds an identity provider to an organisation
The id of the organisation in which the identity provider will be binded.
The id of the identity provider which will be binded to the organisation.
Success !
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/organisations/{organisation_id}/identity_providers/{identity_provider_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"last_modified_ts": 0,
"community_id": "text",
"market_id": "text",
"id": "text",
"technical_name": "text",
"archived": false,
"administrator_id": "text",
"name": "text",
"created_by": "text",
"created_ts": 0,
"last_modified_by": "text",
"type": "CUSTOMER",
"enabled_features": [
{
"feature_name": "text",
"enable_on": "text"
}
]
}
}Replace the SAML metadata of an identity provider by uploading an XML file
The id of the community in which the identity provider lives
The id of the identity provider whose metadata will be replaced
Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/community/{community_id}/identity_providers/{identity_provider_id}/metadata HTTP/1.1
Host: api.mediarithmics.local
Content-Type: multipart/form-data
Accept: */*
{
"status": "ok",
"data": {
"id": "text",
"entity_id": "text",
"name": "text",
"status": "READY",
"last_modified_ts": 0,
"want_assertions_signed": false,
"metadata_source": "URL",
"created_ts": 0,
"created_by": "text",
"redirect_url": "text",
"last_modified_by": "text",
"description": "text",
"archived": false,
"provider_type": "SAML_V2_0",
"community_id": "text",
"metadata_xml_url": "text",
"post_logout_redirect_uri": "text"
}
}Create an identity provider by uploading the SAML metadata XML
The id of the community in which the identity provider will be created
Identity provider name
Identity provider description
Identity provider type
Whether SAML assertions must be signed
Post-logout redirect URI
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/community/{community_id}/identity_providers/from_file?name=text&provider_type=SAML_V2_0 HTTP/1.1
Host: api.mediarithmics.local
Content-Type: multipart/form-data
Accept: */*
{
"status": "ok",
"data": {
"id": "text",
"entity_id": "text",
"name": "text",
"status": "READY",
"last_modified_ts": 0,
"want_assertions_signed": false,
"metadata_source": "URL",
"created_ts": 0,
"created_by": "text",
"redirect_url": "text",
"last_modified_by": "text",
"description": "text",
"archived": false,
"provider_type": "SAML_V2_0",
"community_id": "text",
"metadata_xml_url": "text",
"post_logout_redirect_uri": "text"
}
}The id of the community in which the search is performed
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/community/{community_id}/identity_providers HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"count": 1,
"first_result": 1,
"data": [
{
"id": "text",
"entity_id": "text",
"name": "text",
"status": "READY",
"last_modified_ts": 0,
"want_assertions_signed": false,
"metadata_source": "URL",
"created_ts": 0,
"created_by": "text",
"redirect_url": "text",
"last_modified_by": "text",
"description": "text",
"archived": false,
"provider_type": "SAML_V2_0",
"community_id": "text",
"metadata_xml_url": "text",
"post_logout_redirect_uri": "text"
}
],
"total": 1,
"max_results": 1
}The id of the community in which the search is performed
0false0falseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/community/{community_id}/identity_providers HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 235
{
"name": "text",
"status": "READY",
"want_assertions_signed": false,
"metadata_source": "URL",
"description": "text",
"archived": false,
"provider_type": "SAML_V2_0",
"community_id": "text",
"metadata_xml_url": "text",
"post_logout_redirect_uri": "text"
}{
"status": "ok",
"data": {
"id": "text",
"entity_id": "text",
"name": "text",
"status": "READY",
"last_modified_ts": 0,
"want_assertions_signed": false,
"metadata_source": "URL",
"created_ts": 0,
"created_by": "text",
"redirect_url": "text",
"last_modified_by": "text",
"description": "text",
"archived": false,
"provider_type": "SAML_V2_0",
"community_id": "text",
"metadata_xml_url": "text",
"post_logout_redirect_uri": "text"
}
}Gets the identity provider associated to an organisation
The id of the organisation in which the search is performed
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/organisations/{organisation_id}/identity_providers HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"id": "text",
"entity_id": "text",
"name": "text",
"status": "READY",
"last_modified_ts": 0,
"want_assertions_signed": false,
"metadata_source": "URL",
"created_ts": 0,
"created_by": "text",
"redirect_url": "text",
"last_modified_by": "text",
"description": "text",
"archived": false,
"provider_type": "SAML_V2_0",
"community_id": "text",
"metadata_xml_url": "text",
"post_logout_redirect_uri": "text"
}
}Last updated
Was this helpful?