Azure Active Directory (Entra ID) API
Use these operations to interact with the Azure Active Directory (Entra ID) integration in Cortex.
Operations
Authorizations
Responses
200
Successfully found configuration
application/json
400
Bad Request
application/json
404
Configuration not found
application/json
429
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
application/problem+json
get
GET /api/v1/active-directory/default-configuration HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Accept: */*
{
"clientId": "text",
"clientSecretLastFour": "text",
"groupsFilter": "text",
"tenantId": "text"
}
Authorizations
Body
clientIdstringRequired
clientSecretstringRequired
groupsFilterstringOptional
tenantIdstringRequired
Responses
200
Successfully added configuration
application/json
400
Bad Request
application/json
403
Forbidden
application/json
429
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
application/problem+json
post
POST /api/v1/active-directory/configuration HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 81
{
"clientId": "text",
"clientSecret": "text",
"groupsFilter": "text",
"tenantId": "text"
}
{
"configurations": [
{
"clientId": "text",
"clientSecretLastFour": "text",
"groupsFilter": "text",
"tenantId": "text"
}
]
}
Authorizations
Body
clientIdstringRequired
clientSecretstringRequired
groupsFilterstringOptional
tenantIdstringRequired
Responses
200
Successfully replaces configuration
application/json
400
Bad Request
application/json
403
Forbidden
application/json
429
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
application/problem+json
put
PUT /api/v1/active-directory/configuration HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 81
{
"clientId": "text",
"clientSecret": "text",
"groupsFilter": "text",
"tenantId": "text"
}
{
"configurations": [
{
"clientId": "text",
"clientSecretLastFour": "text",
"groupsFilter": "text",
"tenantId": "text"
}
]
}
Authorizations
Responses
200
Successfully validated configuration
application/json
404
Configuration not found
application/json
429
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
application/problem+json
post
POST /api/v1/active-directory/configuration/validate HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Accept: */*
{
"configurations": [
{
"alias": "text",
"isValid": true,
"message": "text"
}
]
}
Authorizations
Responses
200
Successfully deleted configuration
application/json
400
Bad Request
application/json
403
Forbidden
application/json
429
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
application/problem+json
delete
DELETE /api/v1/active-directory/configurations HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Accept: */*
{
"configurations": [
{
"clientId": "text",
"clientSecretLastFour": "text",
"groupsFilter": "text",
"tenantId": "text"
}
]
}
Last updated
Was this helpful?