Generate Access Token for Admin

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

Authenticates the request call to the Cohesity cluster and provides secure access for the admin to the Cohesity cluster resources. The username and password will be the same value you configured before destroying the cluster

Request Body

{"username"=>"{{cluster_admin_username}}", "password"=>"{{cluster_admin_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}"