Update a Credential Type

patch

/api/v2/credential_types/{id}/

Make a PUT or PATCH request to this resource to update this credential type. The following fields may be modified:

  • name: Name of this credential type. (string, required)
  • description: Optional description of this credential type. (string, default="")
  • kind: (choice, required)

    • net: Network
    • cloud: Cloud
  • inputs: Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax. (json, default={})

  • injectors: Enter injectors using either JSON or YAML syntax. Refer to the documentation for example syntax. (json, default={})

For a PATCH request, include only the fields that are being modified.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : CredentialType
Type: object
Show Source
Nested Schema : Injectors
Type: object
Title: Injectors
Enter injectors using either JSON or YAML syntax. Refer to the documentation for example syntax.
Nested Schema : Inputs
Type: object
Title: Inputs
Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax.
Back to Top

Response

Supported Media Types

200 Response

Body ()
Root Schema : CredentialType
Type: object
Show Source
Nested Schema : Injectors
Type: object
Title: Injectors
Enter injectors using either JSON or YAML syntax. Refer to the documentation for example syntax.
Nested Schema : Inputs
Type: object
Title: Inputs
Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax.
Back to Top