ByCloud Docs
GuidesCLIAPISDK

Delete API key

bycloud iam service-accounts-keys delete --service_account_id <service_account_id> --api_key_id <api_key_id> [flags]

Delete an API key

Options

--api_key_id

stringrequired

API Key ID

--service_account_id

stringrequired

Service Account ID

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

Command

bycloud iam service-accounts-keys delete \
--service_account_id "abc-123" \
--api_key_id "abc-123"

Output

Success