Validate the specified GCP bucket name credentials
POSThttps://api.spectrocloud.com/v1/clouds/gcp/bucketname/validate
Validate the specified GCP bucket name credentials
Request
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
required
Request payload for GCP account name validate
bucketNamestringrequired
Bucket name in the GCP
credentials
object
required
projectIdstring
ProjectId in the GCP
Responses
- 204
Ok response without content
Response Headers
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X POST 'https://api.spectrocloud.com/v1/clouds/gcp/bucketname/validate' \
-H 'Content-Type: application/json' \
-H 'ApiKey: <API_KEY_VALUE>' \
--data-raw '{
"bucketName": "string",
"credentials": {
"jsonCredentials": "string",
"jsonCredentialsFileUid": "string"
},
"projectId": "string"
}'