Generate Access Token

POST https://{{cluster-vip}}/irisservices/api/v1/public/accessTokens

Authenticates the request call to the Cohesity cluster and provides secure access for the user to the Cohesity cluster resources. Provide the username and password of the newly added user in the request body for accessing the Cohesity cluster resources.

Request Body

{"username"=>"{{cluster_username}}", "password"=>"{{cluster_password}}", "domain"=>"{{cluster_domain}}"}

RESPONSES

status: Created

"{\n    \"accessToken\": {{cluster_access_token}},\n    \"privileges\": [\n        \"AD_LDAP_MODIFY\",\n        \"AD_LDAP_VIEW\",\n        \"REPORTS_VIEW\",\n        \"STORAGE_MODIFY\",\n        \"STORAGE_VIEW\",\n        \"SUPPORT_CHANNEL_MODIFY\",\n        \"TAGS_MANAGE\",\n         \"VLAN_VIEW\"\n    ],\n    \"tokenType\": \"Bearer\"\n}"