currentSubscription (deprecated)
BETA
Warning:
This object is now deprecated and replaced by a new userProfile object that will provide information about the connected user.
userProfile, in particular, will mention the active Tenant Id of the user, which will make the use of currentSubscription unnecessary.
Operation | Type | Object |
---|---|---|
Query | currentSubscription |
Description
Id of the current tenant which hosts the different organizations.
Note:
Of course it’s not necessary to fill in the header the tenant Id because objective of this object is to obtain the current Tenant Id for the current user.
Header
Key | Value |
---|---|
Authorization |
Bearer Current access Token |
x-api-key |
Primary or secondary subscription key of your app |
currentSubscription
Fields | Type | Description |
---|---|---|
id | UUID | Id of the current subscription |