Page tree




In This Document 


Was this document useful? 
Your Rating:
Results:
1 Star2 Star3 Star4 Star5 Star
2 rates


Have a suggestion for the Armor Knowledge Base? Send a message to kb@armor.com.



Overview

This API call applies to both Armor Complete and Armor Anywhere users.

The Invite User API invites a new or existing user to an account.  

You can use the Get Roles API to find the role ID (id).

Sample request

POST https://api.armor.com/users

REQUEST:
{
 "firstName": "John",
 "lastName": "Smith",
 "email": "john.smith@example.com",
 "roles": [
   {
     "id": 1
   }
 ]
}  

Input

The following table describes the different parts of this API call: 

API Call / URLMethod / Type
/usersPOST

The following table describes the parameter (or parameters) for this API call:

ParameterDescriptionFormatRequired or optionalExample
firstNameFirst name of the user you want to createStringRequiredJohn
lastNameLast name of the user you want to createStringRequiredSmith
emailEmail address of the user you want to createStringRequiredjohn.smith@example.com
rolesArray of roles you want to apply to the userRoles[]Required1

Sample return

StatusResponse
200
{"id":2598}