Server Identity Settings Update
Updates server identity settings.
Request
| Property | Value |
|---|---|
| Method | PATCH |
| URL | /api/server/settings/identity |
| Content-Type | application/json |
| Authentication | Bearer Token |
Request
curl -X PATCH "{BASE_URL}/api/server/settings/identity" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
data.attributes.serverName | string | No | Server display name |
data.attributes.hostName | string | No | Server hostname |
data.attributes.groupName | string | No | Server group name |
Request Body
{
"data": {
"attributes": {
"serverName": "Server 2",
"hostName": "stormdev2.web-anatomy.com",
"groupName": "Premise"
}
}
}
Response Body
Identity Settings
| Parameter | Type | Description |
|---|---|---|
data.attributes.serverName.value | string | Server display name |
data.attributes.serverName.editable | boolean | Indicates if the field can be modified |
data.attributes.serverName.lockedBy | string | Locked by environment variable (if present) |
data.attributes.hostName.value | string | Server hostname |
data.attributes.hostName.editable | boolean | Indicates if the field can be modified |
data.attributes.hostName.lockedBy | string | Locked by environment variable (if present) |
data.attributes.groupName.value | string | Server group name |
data.attributes.groupName.editable | boolean | Indicates if the field can be modified |
data.attributes.groupName.lockedBy | string | Locked by environment variable (if present) |
message | string | Response status message |
Metadata
| Parameter | Type | Description |
|---|---|---|
meta.executionTime | integer | Request processing time in milliseconds |
meta.generatedAt | integer | Response generation timestamp (Unix timestamp in ms) |
Successful Response (200)
{
"data": {
"attributes": {
"serverName": {
"editable": true,
"value": "name"
},
"hostName": {
"editable": true,
"value": "host"
},
"groupName": {
"editable": true,
"value": "group"
}
}
},
"meta": {
"executionTime": 27,
"generatedAt": 1764850757128
},
"message": "Identity Settings have been updated"
}
Error Response (4xx/5xx)
| Parameter | Type | Description |
|---|---|---|
message | string | Human-readable error message |
Error Response
{
"message": "Error message"
}
Support Needed?
Create a free ticket and our support team will provide you necessary assistance.