Skip to end of banner
Go to start of banner

User Management V4 API

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 10 Next »

Introduction

This section describes BSS communication with 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

HTTP method

Purpose

/api/user/management/v4/usersGETGet an index of users
/api/user/management/v4/usersPOSTCreate a new user
/api/user/management/v4/users/{user_id}GETGet user by id
/api/user/management/v4/users/{user_id}PATCHUpdate user by id
/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}

DELETE/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

Child Pages

  • No labels