Idps
Bearer authentication
Executed successfully.
^[a-z0-9_-]+$Unauthorized
Forbidden
unexpected error
unexpected error
GET /api/v1/idps HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"alias": "saml",
"type": "saml",
"redirectUri": "https://domain/auth/realms/name/broker/saml/endpoint",
"samlData": {
"signingCertificate": "signingCertificateExample",
"singleSignOnServiceUrl": "https://authhost/protocol/saml",
"entityId": "example.run.ai/runai",
"serviceProviderMetadataUrl": "https://example.runai.com/auth/realms/runai/broker/saml/endpoint/descriptor"
},
"mappers": {
"gid": "GID",
"groups": "GROUPS",
"supplementaryGroups": "SUPPLEMENTARYGROUPS",
"uid": "UID",
"email": "email"
}
}
]Bearer authentication
Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
The specified resource already exists
unexpected error
unexpected error
POST /api/v1/idps HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 220
{
"type": "saml",
"samlData": {
"metadataXmlType": "url",
"metadataXmlUrl": "https://authhost/saml/metadata.xml"
},
"mappers": {
"gid": "GID",
"groups": "GROUPS",
"supplementaryGroups": "SUPPLEMENTARYGROUPS",
"uid": "UID",
"email": "email"
}
}{
"alias": "oidc"
}Bearer authentication
The alias of the idp
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
GET /api/v1/idps/{idp} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"alias": "saml",
"type": "saml",
"redirectUri": "https://domain/auth/realms/name/broker/saml/endpoint",
"samlData": {
"signingCertificate": "signingCertificateExample",
"singleSignOnServiceUrl": "https://authhost/protocol/saml",
"entityId": "example.run.ai/runai",
"serviceProviderMetadataUrl": "https://example.runai.com/auth/realms/runai/broker/saml/endpoint/descriptor"
},
"mappers": {
"gid": "GID",
"groups": "GROUPS",
"supplementaryGroups": "SUPPLEMENTARYGROUPS",
"uid": "UID",
"email": "email"
}
}Bearer authentication
The alias of the idp
Idp successfully updated
No content
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
PUT /api/v1/idps/{idp} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 220
{
"type": "saml",
"samlData": {
"metadataXmlType": "url",
"metadataXmlUrl": "https://authhost/saml/metadata.xml"
},
"mappers": {
"gid": "GID",
"groups": "GROUPS",
"supplementaryGroups": "SUPPLEMENTARYGROUPS",
"uid": "UID",
"email": "email"
}
}No content
Bearer authentication
The alias of the idp
Idp successfully deleted
No content
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
DELETE /api/v1/idps/{idp} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Bearer authentication
The alias of the idp
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
GET /api/v1/idps/{idp}/mappers HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"gid": "text",
"uid": "text",
"groups": "text",
"supplementaryGroups": "text",
"email": "text"
}Bearer authentication
The alias of the idp
Request accepted successfully.
No content
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
PUT /api/v1/idps/{idp}/mappers HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 87
{
"gid": "text",
"uid": "text",
"groups": "text",
"supplementaryGroups": "text",
"email": "text"
}No content
Last updated