{"type":"model","meta":{"id":"/apps/pubhub/media/cloud-security-apis-in-eft/9d37d008417d562ab46d4b67547a68457ce288d2/c24e887e-1827-3004-af8d-fdd6677097c8","info":{"title":"Cisco Umbrella Users and Roles API","version":"2.0.0","description":"Manage the Umbrella user accounts and roles.","contact":{"name":"Cloud Security Developer Community"}},"security":[{"oauthFlow":[]}],"tags":[{"name":"Users"},{"name":"Roles"},{"name":"Umbrella"}],"x-parser-conf":{"overview":{"markdownPath":"reference/admin/users-roles-overview.md","uri":"umbrella-api-reference-users-roles-overview"}},"openapi":"3.0.1","servers":[{"url":"https://api.umbrella.com/{basePath}","variables":{"basePath":{"default":"admin/v2"}}}],"securitySchemes":{"oauthFlow":{"type":"oauth2","description":"client credential flow","flows":{"clientCredentials":{"tokenUrl":"https://api.umbrella.com/auth/v2/token","scopes":{"admin.users:read":"Read admin users","admin.users:write":"Write admin users","admin.roles:read":"Read admin roles","admin.passwordreset:write":"Write admin passwords","admin.organizations:write":"Read admin organizations"}}}}}},"spec":{"type":"object","properties":{"firstname":{"type":"string","description":"The user's first name.","minLength":1},"lastname":{"type":"string","description":"The user's last name.","minLength":1},"email":{"type":"string","description":"The user's email address.","minLength":1},"password":{"type":"string","description":"The user's password.","minLength":1},"roleId":{"type":"integer","description":"The role ID.","minimum":1},"role":{"type":"string","description":"The user's role."},"timezone":{"type":"string","description":"The user's timezone.","minLength":1},"status":{"type":"string","description":"The user's status.","example":"on"},"lastLoginTime":{"type":"string","format":"date-time","description":"The user's last login date and time (ISO8601 timestamp).","example":"2018-06-13T16:07:07.222Z"},"twoFactorEnable":{"type":"boolean","description":"Specifies whether two-factor authentication is enabled."}},"required":["id","email","role","roleId","timezone","status","twoFactorEnable"],"example":{"id":123,"email":"myemail.com","role":"full admin","roleId":1,"timezone":"2018-06-13T16:07:07.222Z","status":"on","twoFactorEnable":true},"$$ref":"#/components/schemas/UserObject","title":"UserObject"}}