Skip to main content

Get Name Length Limits

GET
/limits/name-lengths

Returns the maximum allowed lengths for user-supplied resource names.

These are validation constraints applied when naming resources (projects, networks, VMs, SSH keys, access tokens) and when submitting an SSH public key. They are the same for every user and never change per request, so the response carries no usage — only the maximum lengths. Use these values to validate input before submitting a request; the API enforces the same limits and rejects values that exceed them.

Responses

The maximum allowed lengths for resource names.