Skip to content

Get activity logs

GET
/dashboard/service/{id}/dedicated/activity-logs

Returns a list of activity logs for the dedicated server showing recent actions performed.

Parameters

Path Parameters

id
required
integer

The service ID of the dedicated server

Responses

200

Activity logs retrieved successfully

object
success
boolean
true
data
object
logs
Array<object>
object
id
integer
1
service_id
integer
123
action

Action performed

string
Allowed values: reboot power_on power_off reinstall cancel_deployment
reboot
details

Detailed description of the action

string
User rebooted server srv-001
created_at
string format: date-time
2024-01-15T10:30:00Z
user
object
id
integer
456
first_name
string
John
last_name
string
Doe
email
string
john.doe@example.com

403

Service is not active or user does not have access

object
success
boolean
error

Error message describing what went wrong

string
statusCode

HTTP status code

integer

404

Service not found

object
success
boolean
error

Error message describing what went wrong

string
statusCode

HTTP status code

integer