Notifications
Get the users MFA status
Authorizations
Path parameters
userIdstringRequired
The ID of the user
Responses
200
successful operation
application/json
400
Invalid status value
application/json
get
GET //users/{userId}/notifications HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Accept: */*
{
"notifications": [
{}
]
}
Creates a new user notification
Authorizations
Path parameters
userIdstringRequired
The ID of the user
Body
objectOptional
Refer to the /schemas/notification endpoint for the JSON Schema definition
Responses
200
successful operation
application/json
400
Invalid status value
application/json
post
POST //users/{userId}/notifications HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2
{}
{
"notification": {}
}
Updates a new user notification
Authorizations
Path parameters
userIdstringRequired
The ID of the user
notificationIdstringRequired
The ID of the notification
Body
objectOptional
Refer to the /schemas/notification endpoint for the JSON Schema definition
Responses
200
successful operation
application/json
400
Invalid status value
application/json
put
PUT //users/{userId}/notifications/{notificationId} HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2
{}
{
"notification": {}
}
Deletes a new user notification
Authorizations
Path parameters
userIdstringRequired
The ID of the user
notificationIdstringRequired
The ID of the notification
Responses
200
successful operation
application/json
Responseobject
400
Invalid status value
application/json
delete
DELETE //users/{userId}/notifications/{notificationId} HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Accept: */*
{}