- Newest
- Most votes
- Most comments
Hi
The document says that it is not possible to delete a routing profile by using the Amazon Connect admin website. However, you can delete a routing profile from your Amazon Connect instance using the DeleteRoutingProfile API or the delete-routing-profile AWS CLI
So you have options AWS CLI or API but Not possible from Console
aws connect delete-routing-profile \ --instance-id <your-connect-instance-id> \ --routing-profile-id <routing-profile-id-to-delete>
*Replace <your-connect-instance-id> with the ID of your Amazon Connect instance. You can find this ID in the Amazon Resource Name (ARN) of the instance. Replace <routing-profile-id-to-delete> *
Refer Official Document: https://docs.aws.amazon.com/cli/latest/reference/connect/delete-routing-profile.html
I can understand your frustration and things are getting better. Remember that Connect is a baby when it comes to being a contact center platform so there are some things that are a bit rough around the edges.
As to your point, here's the best way to delete a routing profile (RP).
- Install the CLI. https://aws.amazon.com/cli/
- Login to the CLI with an account that has access to the instance that contains the RP. https://docs.aws.amazon.com/signin/latest/userguide/command-line-sign-in.html
- Run command "aws connect delete-routing-profile --instance-id <value> --routing-profile-id <value>" Hopefully the instance ID value is obvious to get, but the RP ID you can click on the routing profile and in the URL you'll see the id you need.
david
Do I use the full ARN for the instance ID just the part that says /instance/*******? or just the account number? Where do I locate a routing profile ID? is that not the name?
When using the CLI cloudshell I am inputting the following details. I am assuming the ID for the routing profile is the end part of the URL? There is no documentation to disclose that.
aws connect delete-routing-profile / --094c****-57**-4e**-b9**-6bb0******** / --d7cf****-14**-4a**-a2**-71a5********
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters] To see help text, you can run:
aws help aws <command> help aws <command> <subcommand> help
aws: error: the following arguments are required: --instance-id, --routing-profile-id
Relevant content
- asked 3 years ago
- AWS OFFICIALUpdated 3 years ago

Do I use the full ARN for the instance ID just the part that says /instance/*******? or just the account number? Where do I locate a routing profile ID? is that not the name?
aws connect delete-routing-profile
--instance-id <your-connect-instance-id-without-ARN> \ --routing-profile-id <routing-profile-id-to-delete>
When using the CLI cloudshell I am inputting the following details. I am assuming the ID for the routing profile is the end part of the URL? There is no documentation to disclose that.
aws connect delete-routing-profile / --094c****-57**-4e**-b9**-6bb0******** / --d7cf****-14**-4a**-a2**-71a5********
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters] To see help text, you can run:
aws help aws <command> help aws <command> <subcommand> help
aws: error: the following arguments are required: --instance-id, --routing-profile-id
You need the arguments and then the IDs so --argument 1234-1234-1324 is required for both.