mirror of
https://github.com/ansible/awx.git
synced 2026-02-22 05:30:18 -03:30
Merge pull request #2915 from chrismeyersfsu/fix-label-docs
fix label docs
This commit is contained in:
9
awx/api/templates/api/job_template_label_list.md
Normal file
9
awx/api/templates/api/job_template_label_list.md
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{% include "api/sub_list_create_api_view.md" %}
|
||||||
|
|
||||||
|
Labels not associated with any other resources are deleted. A label can become disassociated with a resource as a result of 3 events.
|
||||||
|
|
||||||
|
1. A label is explicitly diassociated with a related job template
|
||||||
|
2. A job is deleted with labels
|
||||||
|
3. A cleanup job deletes a job with labels
|
||||||
|
|
||||||
|
{% include "api/_new_in_awx.md" %}
|
||||||
@@ -34,7 +34,7 @@ existing {{ model_verbose_name }} with this {{ parent_model_verbose_name }}.
|
|||||||
|
|
||||||
Make a POST request to this resource with `id` and `disassociate` fields to
|
Make a POST request to this resource with `id` and `disassociate` fields to
|
||||||
remove the {{ model_verbose_name }} from this {{ parent_model_verbose_name }}
|
remove the {{ model_verbose_name }} from this {{ parent_model_verbose_name }}
|
||||||
without deleting the {{ model_verbose_name }}.
|
{% if model_verbose_name != "label" %}}without deleting the {{ model_verbose_name }}{% endif %}.
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user