User types
List the user types
Authorizations
Responses
200
successful operation
application/json
400
Invalid status value
application/json
get
/user-typesGET /user-types HTTP/1.1
Host: api.ecosuite.io/
Authorization: YOUR_API_KEY
Accept: */*
{
  "userTypes": {
    "id": "text",
    "name": "text",
    "application": "ams"
  }
}Creates a new user type assigning them a server generated ID
Authorizations
Body
Refer to the /schemas/user-type endpoint for the full JSON Schema definition
idstringRead-onlyOptional
namestringRequired
applicationstring · enumRequiredPossible values: 
Responses
200
successful operation
application/json
400
Invalid status value
application/json
post
/user-typesPOST /user-types HTTP/1.1
Host: api.ecosuite.io/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 35
{
  "name": "text",
  "application": "ams"
}{
  "id": "text",
  "name": "text",
  "application": "ams"
}Get the user type
Authorizations
Path parameters
userTypeIdstringRequired
The ID of the user type
Body
Refer to the /schemas/user-type endpoint for the full JSON Schema definition
idstringRead-onlyOptional
namestringRequired
applicationstring · enumRequiredPossible values: 
Responses
200
successful operation
application/json
Responseobject
400
Invalid status value
application/json
get
/user-types/{userTypeId}GET /user-types/{userTypeId} HTTP/1.1
Host: api.ecosuite.io/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 35
{
  "name": "text",
  "application": "ams"
}{}Update the user type
Authorizations
Path parameters
userTypeIdstringRequired
The ID of the user type
Body
Refer to the /schemas/user-type endpoint for the full JSON Schema definition
idstringRead-onlyOptional
namestringRequired
applicationstring · enumRequiredPossible values: 
Responses
200
successful operation
application/json
Responseobject
400
Invalid status value
application/json
put
/user-types/{userTypeId}PUT /user-types/{userTypeId} HTTP/1.1
Host: api.ecosuite.io/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 35
{
  "name": "text",
  "application": "ams"
}{}Delete the user type
Authorizations
Path parameters
userTypeIdstringRequired
The ID of the user type
Responses
200
successful operation
application/json
Responseobject
400
Invalid status value
application/json
delete
/user-types/{userTypeId}DELETE /user-types/{userTypeId} HTTP/1.1
Host: api.ecosuite.io/
Authorization: YOUR_API_KEY
Accept: */*
{}