List Organizations
Retrieves a list of all Organizations in the Tenant.
Retrieves a list of all Organizations in the Tenant.
apikey<token>
Tenant API Key for authentication
In: query
apisecret<token>
Tenant API Secret for authentication
In: query
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.loginradius.com/v2/manage/organizations"{
"Data": [
{
"Display": {
"LogoURL": "https://example.com/logo.jpg",
"Name": "Org1"
},
"Metadata": {
"hello": "world"
},
"Name": "Org1",
"Connections": [
{
"Id": "conn_Z5ZtmHl2aMpi5VZP",
"IsActive": true,
"CreatedDate": "2023-10-01T00:00:00Z",
"GroupRoles": [
{
"GroupId": "eca8da89-09ed-476f-a689-11fa9a0b14ce",
"Name": "Security",
"RoleId": "role_Z6NE1ZkupP7lwD6E",
"Id": "group_role_Z6NFN5kupP7lwD6G"
}
],
"ModifiedDate": "2023-10-01T00:00:00Z",
"Name": "AzureAD",
"Domain": "example.com",
"Attributes": {
"CustomMapping": {
"Gender": "gender"
},
"Email": "email",
"FirstName": "firstName",
"Groups": "groups",
"ID": "sub",
"LastName": "lastName"
},
"IDPEntityId": "https://exampleIdp.com",
"IDPMetadataUrl": "https://exampleIdp.com/metadata.xml",
"IsIDPInitiated": true,
"IDPCertificate": {
"Certificate": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----\n",
"NotAfter": "2023-10-01T00:00:00Z",
"NotBefore": "2023-10-01T00:00:00Z"
},
"ConnectionType": "saml_custom",
"EntityId": "https://example.hub.loginradius.com/saml/sp/Z5ZtBULhXHAJKrLsOmeWbZh5dmjKYuVWTw",
"MetadataUrl": "https://example.hub.loginradius.com/saml/sp/Z5ZtBULhXHAJKrLsOmeWbZh5dmjKYuVWTw/metadata.xml",
"ACSEndpoint": "https://example.hub.loginradius.com/saml/sp/acs/Z5ZtBULhXHAJKrLsOmeWbZh5dmjKYuVWTw",
"SPCertificate": {
"Certificate": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----\n"
}
}
],
"CreatedDate": "2023-10-01T00:00:00Z",
"Domains": [
{
"domain": "example.com",
"isDefault": true
}
],
"Id": "org_Z5ZtBULhXHAJKrLs",
"IsActive": true,
"ModifiedDate": "2023-10-01T00:00:00Z",
"Policies": {
"JITPolicy": {
"Enabled": false
},
"MFAPolicy": {
"EnforcementMode": "optional"
},
"MemberPolicy": {
"DefaultMemberRole": "role_Z5OCrdbNBZ8OzruS"
},
"PasswordPolicy": {
"ExpiryDays": 100,
"MaxLength": 25,
"MinLength": 8,
"RequireLowercase": true,
"RequireNumber": true,
"RequireSpecialChar": true,
"RequireUppercase": true
},
"SessionPolicy": {
"AccessTokenTTL": 14400,
"RefreshTokenTTL": 324345
}
}
}
]
}{
"Description": "The B2B feature is not enabled or configured for your app. Please contact LoginRadius support for more information.",
"ErrorCode": 1267,
"Message": "B2B feature is not enabled or not configured properly"
}{
"Message": "Access Unauthorized",
"Description": "Access Unauthorized, please use valid authorization to access this endpoint.",
"ErrorCode": 6002
}{
"Message": "Operation failed due to an internal error.",
"Description": "An unknown internal error occurred, please try again in a few minutes or contact your system administrator.",
"ErrorCode": 7909
}