Update the name and roles of an API key.
An access token must be provided in the Authorization header using the Bearer scheme.
Required date-based version header
API key ID
Updated name and roles for the API key.
A new name for the API key. The name must be 1-80 characters long. If omitted, the name will not be updated.
1 - 80"devkey"
A new set of roles for the API key. Existing roles will be removed if not included. If this field is omitted, the roles will not be updated.
A role that can be assigned to an API key.
Possible values: ProjectEditor, ProjectViewer, ControlPlaneEditor, ControlPlaneViewer, DataPlaneEditor, or DataPlaneViewer.
API key updated successfully.
The details of an API key, without the secret.
The unique ID of the API key.
The name of the API key.
The ID of the project containing the API key.
The roles assigned to the API key.
A role that can be assigned to an API key.
Possible values: ProjectEditor, ProjectViewer, ControlPlaneEditor, ControlPlaneViewer, DataPlaneEditor, or DataPlaneViewer.