Notifications

List the notifications for a user

get

Get the users MFA status

Authorizations
Path parameters
userIdstringRequired

The ID of the user

Responses
200
successful operation
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

post

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
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

put

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
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

delete

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
delete
DELETE //users/{userId}/notifications/{notificationId} HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Accept: */*
{}