Update Credential Status
Operation ID: updateCredentialStatus
Enabled or disable S3 credential for the platform user. Parameters tenant_id and tenant_id are always in request; the platform decides whehter to use them.
The access key of the S3 credential to update status
The ID of the tenant which the user belongs to
The ID of the user which the status updated S3 credential belongs to
The S3 credential containing the status to update. Only property 'active' takes effect
{
"tenant_id": "acme",
"secret_key": "yz8PIwNjmm2zlHX8m7st6BSKh8PCe7bqAaRGkF5K",
"user_id": "961515dd-8348-4cac-8780-5edcb8a87b58",
"access_key": "00e4a3d674aada749f04",
"cd_tenant_id": "40b97e3c-c3b1-4251-b7de-e9637324683f",
"active": true,
"creation_date": "2000-01-23T04:56:07+00:00",
"cd_user_id": "2b4d76d7-89fa-45fb-ab3e-3fa3bb268335",
"username": "rachelw"
}
The S3 access key.
The S3 secret key.
The status of platform S3 key. For the platforms not supporting activate/deactivate S3 key, either returning active=true or not returning active indicates the platform S3 key is in active status.
S3 credential creation date.
The ID of the tenant which the S3 credential belongs to.
The ID of the user which the S3 credential belongs to.
The name of the platform user which the S3 credential belongs to.
The ID of VCD user.
The ID of VCD tenant which the user belongs to.
The status of the S3 credential is updated
{
"tenant_id": "acme",
"secret_key": "yz8PIwNjmm2zlHX8m7st6BSKh8PCe7bqAaRGkF5K",
"user_id": "961515dd-8348-4cac-8780-5edcb8a87b58",
"access_key": "00e4a3d674aada749f04",
"cd_tenant_id": "40b97e3c-c3b1-4251-b7de-e9637324683f",
"active": true,
"creation_date": "2000-01-23T04:56:07+00:00",
"cd_user_id": "2b4d76d7-89fa-45fb-ab3e-3fa3bb268335",
"username": "rachelw"
}
The S3 access key.
The S3 secret key.
The status of platform S3 key. For the platforms not supporting activate/deactivate S3 key, either returning active=true or not returning active indicates the platform S3 key is in active status.
S3 credential creation date.
The ID of the tenant which the S3 credential belongs to.
The ID of the user which the S3 credential belongs to.
The name of the platform user which the S3 credential belongs to.
The ID of VCD user.
The ID of VCD tenant which the user belongs to.
Bad Request
{
"code": "E_BAD_REQUEST",
"message": "invalid value for the property xyz."
}
code
message
The optional API is not implemented