set-label - Cloud Foundry CLI Reference Guide


NAME

set-label - Set a label (key-value pairs) for an API resource

SYNTAXE

cf set-label RESOURCE RESOURCE_NAME KEY=VALUE...

EXAMPLES

cf set-label app dora env=production cf set-label org business pci=true public-facing=false cf set-label buildpack go_buildpack go=1.12 -s cflinuxfs3

RESOURCES

app
buildpack domain
org
route service-broker service-instance service-offering service-plan space stack

OPTIONS

--stack, -s

Specify stack to disambiguate buildpacks with the same name

--broker, -b

Specify a service broker to disambiguate service offerings or service plans with the same name.

--offering, -e

Specify a service offering to disambiguate service plans with the same name.

SEE ALSO

labels, unset-label