Adding Or updating the Tanzu API Token
You can add a Tanzu API Token from Customer Support Portal to use Ops Manager's Customer Support Portal integration. This features automatically finds updates to products and stemcells from Customer Support Portal which you can then stage and install.
You can find your Tanzu API Token under your profile settings in Customer Support Portal.
Note that currently there are two API tokens listed.
Ops Manager only works with one listed as legacy API token.
{
"pivotal_network_settings": {
"api_token": "string"
}
}
pivotal_network_settings
OK
{
"success": false
}
success
Setup is not completed
{
"errors": {
"errors": [
"string"
]
}
}
Unauthorized
{
"errors": {
"errors": [
"string"
]
}
}
Forbidden
{
"errors": {
"errors": [
"string"
]
}
}
Unprocessable Content
{
"errors": [
"string"
]
}
errors
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v0/settings/pivotal_network_settings