Settings
Authorizations
AuthorizationstringRequired
API authentication using Bearer tokens. Include your API token in the Authorization header:
Authorization: Bearer <your-api-token>
Tokens can be obtained from the Opsera platform's API token management interface.
Body
targetstring · objectId[]RequiredExample:
List of task IDs to be updated.
["64d7c869b5760b001e46c1a2","64d7c869b5760b001e46c1a3"]settingsobjectRequiredExample:
Settings to be applied to the tasks. The format depends on the type of tasks being updated.
{"repository":{"url":"https://github.com/example/repo","branch":"main"},"notifications":{"enabled":true}}Responses
200
Task settings updated successfully.
application/json
statusstringOptionalExample:
Status of the operation.
successmessagestringOptionalExample:
Confirmation message for the operation.
The update operation has been completed.logstring[]Optional
List of log messages for the operation.
400
Bad request - Invalid or missing input.
application/json
401
Unauthorized - Authentication failed.
application/json
500
Internal Server Error.
application/json
post
/api/v2/settings/tasksLast updated

