Update a Credential Type

put

/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 Ansible Tower documentation for example syntax. (json, default={})

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

For a PUT request, include all fields in the request.

Request

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

Response

200 Response

Back to Top