Generate Access Token

POST https://{{cluster-vip}}/v2/access-tokens

Authenticates the request call to the Cohesity cluster and provides secure access for the user to 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}"