post https://api.mediasilo.com/v3/users/?notify=
Creates a new user
Users are at the core of all MediaSilo applications. In addition to containing a user's name, address and contact information, the User object contains an array of Roles that enable a user to perform certain tasks within the scope of an Account or Project, and an array of Tags that can be used to group, sort and filter user lists.
Users must be assigned to projects to access assets
All assets are organized into projects, and a user must be assigned to a project to work with the assets within it. Once your user has been created, you will need to assign them to a project in order for the user to access MediaSilo functionality.
// Sample payload for creating a user
{
"userName": "johndoe",
"password": "Ch@ng3dP@ssw0rd!",
"firstName": "John",
"lastName": "Doe",
"company": "MediaSilo",
"email": "[email protected]",
"phone": "555 444 3333",
"mobile": "555 222 1111",
"address": {
"address1": "123 Main Street",
"address2": "Suite 456",
"city": "Boston",
"province": "MA",
"postalCode": "02111",
"country": "United States"
},
"sso": true,
"ssoId": "mySsoId",
"defaultRoleTemplateId": "448aeb72-4a5d-4b76-b3bb-fa5935f47244"
}
Attributes
Attributes | Types | Comments |
---|---|---|
userName | string | Optional. Must be unique. May only contain letters, numbers, periods, dashes, underscores and @ symbols. |
password | string | Optional. Must be at least 8 characters and contain at least one number, one upper case letter, one lower case letter and one special character: -+_!@#$%^&*,. For security, your password cannot contain your username. |
firstName | string | Optional |
lastName | string | Optional |
company | string | Optional |
string | Required | |
mobile | string | Optional |
address | string | Optional. See below for description of address object. |
sso | boolean | Optional. Set to true if user should log in via Single Sign-On (SSO). |
ssoId | string | Optional. Used in conjunction with the sso field to store the SSO identifier for the user. |
defaultRoleTemplateId | string | Optional. ID of the default Role Template to use when user is added to a Project. |
Address Properties
Attribute | Type | Comments |
---|---|---|
address1 | string | Street address. |
address2 | string | Additional line used for apartment, suite or floor number. |
city | string | Name of the city. |
province | string | Name of the state or province. |
postalCode | string | Postal code of the mailing address. |
country | string | Name of the contry |