Skip to main content

Update Settings (v1)

Update platform settings.

Method & Path

PATCH /v1/admin/settings

Description

Updates platform settings. At least one field must be provided.

Authentication

Required: Admin authentication with settings.manage permission.

Request Body

{
"isRegistrationOpen": false,
"locale": "ar"
}

Response 200 OK

{
"settings": {
"isRegistrationOpen": false,
"locale": "ar"
}
}

Common Errors

  • 401 Unauthorized: Missing or invalid admin authentication token
  • 403 Forbidden: Insufficient permissions
  • 400 Bad Request: Invalid request body
  • 500 Internal Server Error: Server error