Create a Credential for a Workflow Job Template Node
/api/v2/workflow_job_template_nodes/{id}/credentials/
Make a POST request to this resource with the following credential fields to create a new credential associated with this workflow job template node.
- 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 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={})
Add Credentials for a Workflow Job Template Node:
Make a POST request to this resource with only an id field to associate an
existing credential with this workflow job template node.
Remove Credentials from this Workflow Job Template Node:
Make a POST request to this resource with id and disassociate fields to
remove the credential from this workflow job template node
 without deleting the credential.
Request
- application/json
{
    "id":2
}Response
- application/json
201 Response
400 Response
{
    "msg":"This launch configuration already provides a Machine credential."
}403 Response
{
    "detail":"You do not have permission to perform this action."
}