Notification State
Use to manage notification state.
Get notification state
Authorizations
AuthorizationstringRequired
Bearer authentication
Responses
200
Notification state
application/json
enabledbooleanRead-onlyRequiredDefault:
false401
Unauthorized
application/json
403
Forbidden
application/json
404
The specified resource was not found
application/json
500
unexpected error
application/json
501
unexpected error
application/json
503
unexpected error
application/json
get/api/v1/notification-state
GET /api/v1/notification-state HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"enabled": true,
"email": {
"enabled": true
},
"slack": {
"enabled": true,
"workspaceName": "<your_workspace_name>"
}
}Update tenant notifications state
Authorizations
AuthorizationstringRequired
Bearer authentication
Body
enabledbooleanRead-onlyRequiredDefault:
falseResponses
200
Notification Channel config
application/json
enabledbooleanRead-onlyRequiredDefault:
false400
Bad request.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
The specified resource was not found
application/json
500
unexpected error
application/json
501
unexpected error
application/json
503
unexpected error
application/json
patch/api/v1/notification-state
PATCH /api/v1/notification-state HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 106
{
"enabled": true,
"email": {
"enabled": true
},
"slack": {
"enabled": true,
"workspaceName": "<your_workspace_name>"
}
}{
"enabled": true,
"email": {
"enabled": true
},
"slack": {
"enabled": true,
"workspaceName": "<your_workspace_name>"
}
}Last updated