PUT
https://api.applivery.io/v1/organizations/{organizationId}/mdm/configurations
curl -X PUT "https://api.applivery.io/v1/organizations/{organizationId}/mdm/configurations" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"entraId": {
"tenantId": "string",
"clientId": "string",
"clientSecret": "string"
}
}'const response = await fetch("https://api.applivery.io/v1/organizations/{organizationId}/mdm/configurations", {
method: "PUT",
headers: {
Authorization: "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json",
},
body: JSON.stringify({
"entraId": {
"tenantId": "string",
"clientId": "string",
"clientSecret": "string"
}
}),
});
const data = await response.json();import requests
response = requests.put(
"https://api.applivery.io/v1/organizations/{organizationId}/mdm/configurations",
headers={"Authorization": "Bearer <YOUR_API_KEY>"},
json={
"entraId": {
"tenantId": "string",
"clientId": "string",
"clientSecret": "string"
}
},
)
data = response.json()Request
Send your API key in the request header
authorization
Example:
Authorization: Bearer <token>
organizationId
string
required
Body Params
application/json
entraId
object
required
tenantId
string
required
clientId
string
required
clientSecret
string
optional
{
"entraId": {
"tenantId": "string",
"clientId": "string",
"clientSecret": "string"
}
}
Responses
200 Response
application/json
status
boolean
required
data
object
required
id
string
required
organizationId
string
required
entraId
object
required
tenantId
string
required
clientId
string
required
clientSecret
string
optional
updatedAt
string
required
createdAt
string
required
{
"status": true,
"data": {
"id": "string",
"organizationId": "string",
"entraId": {
"tenantId": "string",
"clientId": "string",
"clientSecret": "string"
},
"updatedAt": "string",
"createdAt": "string"
}
}
401 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
404 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}