Create a Credential for an Organization
post
/api/v2/organizations/{id}/galaxy_credentials/
Make a POST request to this resource with the following credential fields to create a new credential associated with this organization.
name
: Name of this credential. (string, required)description
: Optional description of this credential. (string, default=""
)organization
: (id, default=None
)-
credential_type
: Specify the type of credential you want to create. Refer to the documentation for details on each type. (id, required) -
inputs
: Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax. (json, default={}
)
Add Credentials for an Organization:
Make a POST request to this resource with only an id
field to associate an
existing credential with this organization.
Remove Credentials from this Organization:
Make a POST request to this resource with id
and disassociate
fields to
remove the credential from this organization
without deleting the credential.
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : Credential
Type:
Show Source
object
-
cloud:
string
Title:
Cloud
Read Only:true
-
created:
string
Title:
Created
Read Only:true
-
credential_type(required):
integer
Title:
Credential Type
Specify the type of credential you want to create. Refer to the documentation for details on each type. -
description:
string
Title:
Description
-
id:
integer
Title:
ID
Read Only:true
-
inputs:
object Inputs
Title:
Inputs
Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax. -
kind:
string
Title:
Kind
Read Only:true
-
kubernetes:
string
Title:
Kubernetes
Read Only:true
-
managed:
string
Title:
Managed
Read Only:true
-
modified:
string
Title:
Modified
Read Only:true
-
name(required):
string
Title:
Name
Minimum Length:1
Maximum Length:512
-
organization:
integer
Title:
Organization
- related: string
-
summary_fields:
string
Title:
Summary fields
Read Only:true
-
type:
string
Title:
Type
Read Only:true
-
url:
string
Title:
Url
Read Only:true
Nested Schema : Inputs
Type:
object
Title:
Inputs
Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax.
Response
Supported Media Types
- application/json
201 Response
Root Schema : Credential
Type:
Show Source
object
-
cloud:
string
Title:
Cloud
Read Only:true
-
created:
string
Title:
Created
Read Only:true
-
credential_type(required):
integer
Title:
Credential Type
Specify the type of credential you want to create. Refer to the documentation for details on each type. -
description:
string
Title:
Description
-
id:
integer
Title:
ID
Read Only:true
-
inputs:
object Inputs
Title:
Inputs
Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax. -
kind:
string
Title:
Kind
Read Only:true
-
kubernetes:
string
Title:
Kubernetes
Read Only:true
-
managed:
string
Title:
Managed
Read Only:true
-
modified:
string
Title:
Modified
Read Only:true
-
name(required):
string
Title:
Name
Minimum Length:1
Maximum Length:512
-
organization:
integer
Title:
Organization
- related: string
-
summary_fields:
string
Title:
Summary fields
Read Only:true
-
type:
string
Title:
Type
Read Only:true
-
url:
string
Title:
Url
Read Only:true
Nested Schema : Inputs
Type:
object
Title:
Inputs
Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax.