type: object
properties:
  name:
    type: string
    example: Updated Credential Name
    description: The name of the credential
  type:
    type: string
    example: githubApi
    description: The credential type. If changing type, data must also be provided.
  data:
    type: object
    writeOnly: true
    example: { accessToken: 'new_token_value' }
    description: The credential data. Required when changing credential type.
  isGlobal:
    type: boolean
    example: false
    description: Whether this credential is available globally
  isResolvable:
    type: boolean
    example: false
    description: Whether this credential has resolvable fields
  isPartialData:
    type: boolean
    example: false
    default: false
    description: If true, unredacts and merges existing credential data with the provided data. If false, replaces the entire data object.
