Update name and/or permissions for an API key.
Updates the name and/or permissions associated with this API key.
Requires the update:api_credentials permission, available to users with a member or owner role in the organization that owns the application.
Allowed permissions for API keys:
read:organizations, update:organizations,
read:applications, update:applications,
read:traces, write:traces.
Returns: The API key with updated fields and timestamp.
Note: For permissions, this completely replaces the existing permissions with the new list. Name and permissions are both optional - provide only the fields you want to update.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.