Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

This section describes BSS communication with AminoTV User Management API

Authentication and authorisation 

All BSS endpoints support API key authorization. The header named 'Authorization' with content "Apikey PUT_YOUR_KEY_HERE" must be passed with request.

In addition to API key authorization some clients can have IP white listing feature enabled, which will allow access only from specific IP's. 

Both API key and IP addresses allowed list are customer specific data and you should contact support person to obtain those.

Endpoints overview

Endpoint specification

Endpoint

HTTP method

Purpose

User Management v4#/User/GetAllUsers/api/user/management/v4/usersGETGet an index of users
User Management v4#/User/CreateUser/api/user/management/v4/usersPOSTCreate a new user
User Management v4#/User/GetUserById/api/user/management/v4/users/{user_id}GETGet user by id
User Management v4#/User/UpdateUser/api/user/management/v4/users/{user_id}PATCHUpdate user by id
User Management v4#/User/DeleteUserById/api/user/management/v4/users/{user_id}DELETEDelete user by id

Entities 

User Resource

Up-to-date resource schema could be found on API documentation page User Management API under schemas section.

Attributes

  • name: full name
  • user_flags: predefined user flags for features (e.g.: LICENSE_PURCHASE_RESTRICTED)
  • contact_details:
    • email: email address
    • telephone_number_E123: telephone in E.123 notation
  • registration_information:
    • registration_state: default is UNREGISTERED. Only REGISTERED state is allowed to login.
    • registration_time: (read-only) user registration time in epoch timestamp
  • external_id: external customer identifier for reference ("cid" in legacy endpoints)

Relationships

Each of user should have one default_user_profile created automatically during user creation.

Meta

  • security

Use cases 

Use management API to fetch, create, update and delete Users

User Management API

Some notes:

Migration guide

PurposeLegacy user managementUser Management V4
Get user accountsGET/api/management/userGET/api/user/management/v4/users
Create user accountPOST/api/management/userPOST/api/user/management/v4/users
Update user accountPUT/api/management/user/{email}PATCH/api/user/management/v4/users/{user_id}
Delete user accountDELETE/api/management/user/{email}POST/api/user/management/v4/users/{user_id}

Note: user management API no longer support service parameter, use Management licenses v4 API to mange user licenses.

Postman collection

Table of Contents

Table of Contents

Child Pages

Child pages (Children Display)