# Is it possible to enable AAP instance using command?

**URL:** <https://forum.ansible.com/t/is-it-possible-to-enable-aap-instance-using-command/39905>\
**Category:** Get Help\
**Tags:** aap, awx\
**Created:** [January 29, 2025, 3:21pm UTC](https://forum.ansible.com/t/is-it-possible-to-enable-aap-instance-using-command/39905 "2025-01-29T15:21:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerry](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jerry/32/2572_2.png) [@Jerry](https://forum.ansible.com/u/Jerry)\
**Post date:** [January 29, 2025, 3:21pm UTC](https://forum.ansible.com/t/is-it-possible-to-enable-aap-instance-using-command/39905/1 "2025-01-29T15:21:01Z")

</div>

**Enable instance in AAP using command**.  
In AAP 2.4 on RHEL8 servers I am looking for a way to disable/enable instances (Execution Nodes) as part of OS patching process for AAP servers.  
Version of awx-manage is 4.5.12  
It was recommended in this KB to do this:

> **[On-Prem Ansible Automation Platform Patching Procedure - OS Packages Update...](https://access.redhat.com/solutions/7034370)**
>
> I want to do operating system security patching / operating system package upgrades on Ansible Automation Platform nodes without breaking any AAP functionality. I want to do AAP components security patching / AAP packages upgrades on Ansible...

My goal is to be able to run a script from Bastion and target all servers in my AAP solution to do needed activities before and after patching the OS.

Seems like there is command support to disable an instance using:

```auto
awx-manage disable_instance FQDN-of-instance

```

But I cant find that awx-manage supports enabling the instance, how come?  
I do not want to do this using the GUI. Is my only option to do it via API?
