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: Networkcloud: 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 PUT request, include all fields in the request.
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : CredentialType
Type:
Show Source
object-
created:
string
Title:
CreatedRead Only:true -
description:
string
Title:
Description -
id:
integer
Title:
IDRead Only:true -
injectors:
object Injectors
Title:
InjectorsEnter injectors using either JSON or YAML syntax. Refer to the documentation for example syntax. -
inputs:
object Inputs
Title:
InputsEnter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax. -
kind(required):
string
Title:
KindAllowed Values:[ "ssh", "vault", "net", "scm", "cloud", "registry", "token", "insights", "external", "kubernetes", "galaxy", "cryptography" ] -
managed:
string
Title:
ManagedRead Only:true -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMinimum Length:1Maximum Length:512 -
namespace:
string
Title:
NamespaceRead Only:trueMinimum Length:1 - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true
Nested Schema : Injectors
Type:
objectTitle:
InjectorsEnter injectors using either JSON or YAML syntax. Refer to the documentation for example syntax.
Nested Schema : Inputs
Type:
objectTitle:
InputsEnter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax.
Response
Supported Media Types
- application/json
200 Response
Root Schema : CredentialType
Type:
Show Source
object-
created:
string
Title:
CreatedRead Only:true -
description:
string
Title:
Description -
id:
integer
Title:
IDRead Only:true -
injectors:
object Injectors
Title:
InjectorsEnter injectors using either JSON or YAML syntax. Refer to the documentation for example syntax. -
inputs:
object Inputs
Title:
InputsEnter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax. -
kind(required):
string
Title:
KindAllowed Values:[ "ssh", "vault", "net", "scm", "cloud", "registry", "token", "insights", "external", "kubernetes", "galaxy", "cryptography" ] -
managed:
string
Title:
ManagedRead Only:true -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMinimum Length:1Maximum Length:512 -
namespace:
string
Title:
NamespaceRead Only:trueMinimum Length:1 - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true
Nested Schema : Injectors
Type:
objectTitle:
InjectorsEnter injectors using either JSON or YAML syntax. Refer to the documentation for example syntax.
Nested Schema : Inputs
Type:
objectTitle:
InputsEnter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax.