Create a Credential for an Organization
post
                    /api/v2/organizations/{id}/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="")
- 
credential_type: Specify the type of credential you want to create. Refer to the Ansible Tower documentation for details on each type. (id, required)
- 
inputs: Enter inputs using either JSON or YAML syntax. Refer to the Ansible Tower documentation for example syntax. (json, default={})
Request
Supported Media Types
                - application/json
Path Parameters
                
                
                
                
                
                
                Root Schema : schema
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            credential_type: 
            integer
            Specify the type of credential you want to create. Refer to the Ansible Tower documentation for details on each type.
- 
            description(optional): 
            string
            
- 
            inputs(optional): 
            object  inputs
            
            Enter inputs using either JSON or YAML syntax. Refer to the Ansible Tower documentation for example syntax.
- 
            name: 
            string
            
- 
            organization(optional): 
            integer
            Inherit permissions from organization roles. If provided on creation, do not give either user or team.
Nested Schema : inputs
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectEnter inputs using either JSON or YAML syntax. Refer to the Ansible Tower documentation for example syntax.