Use this API to specify a domain to work on to get or set NetBrain data by associating domainID to the current session.
Method |
URL |
Required authentication |
PUT |
/V1/Session/CurrentDomain |
Yes |
Name |
Description |
---|---|
Token*required |
Input the token received from the API Log in to get an authentication token. |
Request*required |
The body contains two parameters: ▪tenantId*(string): input the ID of the target tenant. Get a tenant ID by using the API Get all accessible tenant. ▪domainId*(string): input the ID of the target domain. Get a domain ID by using the API Get all accessible domains of a tenant. Example: { |
Parameter |
Type |
Description |
Example |
---|---|---|---|
statusCode |
integer |
The returned status code of executing the API. |
{ |
statusDescription |
string |
The explanation of the status code. |