For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

get
/community/{community_id}/identity_providers/{identity_provider_id}/organisations
Path parameters
community_idstringRequired

The id of the community in which the search is performed

identity_provider_idstringRequired

The id of the identity provider

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
countintegerRequired
get/community/{community_id}/identity_providers/{identity_provider_id}/organisations
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
}

Get an identity provider

get
/community/{community_id}/identity_providers/{identity_provider_id}
Path parameters
community_idstringRequired

The id of the community in which the search is performed

identity_provider_idstringRequired

The id of the concerned identity provider

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/community/{community_id}/identity_providers/{identity_provider_id}
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"
  }
}

Update an identity provider

put
/community/{community_id}/identity_providers/{identity_provider_id}
Path parameters
community_idstringRequired

The id of the community in which the search is performed

identity_provider_idstringRequired

The id of the concerned identity provider

Body
idstringRead-onlyRequired
entity_idstringRead-onlyRequired
namestringRequired
statusstring · enumRequiredPossible values:
last_modified_tsinteger · int64Read-onlyRequiredDefault: 0
want_assertions_signedbooleanOptionalDefault: false
metadata_sourcestring · enumRequiredPossible values:
created_tsinteger · int64Read-onlyRequiredDefault: 0
created_bystringRead-onlyRequired
redirect_urlstringRead-onlyOptional
last_modified_bystringRead-onlyRequired
descriptionstringOptional
archivedbooleanRequiredDefault: false
provider_typestring · enumRequiredPossible values:
community_idstringRequired
metadata_xml_urlstringOptional
post_logout_redirect_uristringOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/community/{community_id}/identity_providers/{identity_provider_id}
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

delete
/community/{community_id}/identity_providers/{identity_provider_id}
Path parameters
community_idstringRequired

The id of the community in which the search is performed

identity_provider_idstringRequired

The id of the concerned identity provider

Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/community/{community_id}/identity_providers/{identity_provider_id}
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

post
/organisations/{organisation_id}/identity_providers/{identity_provider_id}
Path parameters
organisation_idinteger · int64Required

The id of the organisation in which the identity provider will be binded.

identity_provider_idstringRequired

The id of the identity provider which will be binded to the organisation.

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/organisations/{organisation_id}/identity_providers/{identity_provider_id}
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

delete
/organisations/{organisation_id}/identity_providers/{identity_provider_id}
Path parameters
organisation_idinteger · int64Required

The id of the organisation in which the identity provider will be binded.

identity_provider_idstringRequired

The id of the identity provider which will be binded to the organisation.

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
delete/organisations/{organisation_id}/identity_providers/{identity_provider_id}
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

put
/community/{community_id}/identity_providers/{identity_provider_id}/metadata
Path parameters
community_idstringRequired

The id of the community in which the identity provider lives

identity_provider_idstringRequired

The id of the identity provider whose metadata will be replaced

Body
anyOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/community/{community_id}/identity_providers/{identity_provider_id}/metadata
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

post
/community/{community_id}/identity_providers/from_file
Path parameters
community_idstringRequired

The id of the community in which the identity provider will be created

Query parameters
namestringRequired

Identity provider name

descriptionstringOptional

Identity provider description

provider_typestring · enumRequired

Identity provider type

Possible values:
want_assertions_signedbooleanOptional

Whether SAML assertions must be signed

post_logout_redirect_uristringOptional

Post-logout redirect URI

Body
anyOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/community/{community_id}/identity_providers/from_file
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"
  }
}

Search the identity providers of a community

get
/community/{community_id}/identity_providers
Path parameters
community_idstringRequired

The id of the community in which the search is performed

Query parameters
first_resultinteger · int32Optional

Offset from which the search must be performed

max_resultsinteger · int32Optional

Number of maximum items that shall be return by this search

archivedbooleanOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
countintegerRequired
first_resultintegerRequired
totalintegerRequired
max_resultsintegerRequired
get/community/{community_id}/identity_providers
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
}

Create an identity provider for a community

post
/community/{community_id}/identity_providers
Path parameters
community_idstringRequired

The id of the community in which the search is performed

Body
idstringRead-onlyRequired
entity_idstringRead-onlyRequired
namestringRequired
statusstring · enumRequiredPossible values:
last_modified_tsinteger · int64Read-onlyRequiredDefault: 0
want_assertions_signedbooleanOptionalDefault: false
metadata_sourcestring · enumRequiredPossible values:
created_tsinteger · int64Read-onlyRequiredDefault: 0
created_bystringRead-onlyRequired
redirect_urlstringRead-onlyOptional
last_modified_bystringRead-onlyRequired
descriptionstringOptional
archivedbooleanRequiredDefault: false
provider_typestring · enumRequiredPossible values:
community_idstringRequired
metadata_xml_urlstringOptional
post_logout_redirect_uristringOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/community/{community_id}/identity_providers
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

get
/organisations/{organisation_id}/identity_providers
Path parameters
organisation_idinteger · int64Required

The id of the organisation in which the search is performed

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/organisations/{organisation_id}/identity_providers
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?