Missing Credential in Job Template API Payload AWX 7.0.0.0

Hello,

We recently migrated from AWX 1.0.8.0 to AWX 7.0.0.0.

We had a job that used the Tower API endpoint to create a template and the payload example was like below with Credential as one of the keys and :

AWX 1.0.8.0

{
“name”: “”,
“description”: “”,
“job_type”: “run”,
“inventory”: null,
“project”: null,
“playbook”: “”,
“forks”: 0,
“limit”: “”,
“verbosity”: 0,
“extra_vars”: “”,
“job_tags”: “”,
“force_handlers”: false,
“skip_tags”: “”,
“start_at_task”: “”,
“timeout”: 0,
“use_fact_cache”: false,
“host_config_key”: “”,
“ask_diff_mode_on_launch”: false,
“ask_variables_on_launch”: false,
“ask_limit_on_launch”: false,
“ask_tags_on_launch”: false,
“ask_skip_tags_on_launch”: false,
“ask_job_type_on_launch”: false,
“ask_verbosity_on_launch”: false,
“ask_inventory_on_launch”: false,
“ask_credential_on_launch”: false,
“survey_enabled”: false,
“become_enabled”: false,
“diff_mode”: false,
“allow_simultaneous”: false,
“custom_virtualenv”: null,
“credential”: null,
“vault_credential”: null
}

On migrating to the AWX 7.0.0.0, we no longer see an option to pass credential/vault with the payload. See example below of the available payload options.
Can someone please suggest what would be the new way if we want to call the tower create job template API and add credentials to the template at time of creation?

AWX 7.0.0.0

{
“name”: “”,
“description”: “”,
“job_type”: “run”,
“inventory”: null,
“project”: null,
“playbook”: “”,
“scm_branch”: “”,
“forks”: 0,
“limit”: “”,
“verbosity”: 0,
“extra_vars”: “”,
“job_tags”: “”,
“force_handlers”: false,
“skip_tags”: “”,
“start_at_task”: “”,
“timeout”: 0,
“use_fact_cache”: false,
“host_config_key”: “”,
“ask_scm_branch_on_launch”: false,
“ask_diff_mode_on_launch”: false,
“ask_variables_on_launch”: false,
“ask_limit_on_launch”: false,
“ask_tags_on_launch”: false,
“ask_skip_tags_on_launch”: false,
“ask_job_type_on_launch”: false,
“ask_verbosity_on_launch”: false,
“ask_inventory_on_launch”: false,
“ask_credential_on_launch”: false,
“survey_enabled”: false,
“become_enabled”: false,
“diff_mode”: false,
“allow_simultaneous”: false,
“custom_virtualenv”: null,
“job_slice_count”: 1
}

thanks
Rich