Delete Contact
| ssmcontacts_delete_contact | R Documentation |
To remove a contact from Incident Manager, you can delete the contact¶
Description¶
To remove a contact from Incident Manager, you can delete the contact.
However, deleting a contact does not remove it from escalation plans and
related response plans. Deleting an escalation plan also does not remove
it from all related response plans. To modify an escalation plan, we
recommend using the update_contact action to specify a different
existing contact.
Usage¶
ssmcontacts_delete_contact(ContactId)
Arguments¶
ContactId |
[required] The Amazon Resource Name (ARN) of the contact that you're deleting. |
Value¶
An empty list.
Request syntax¶
svc$delete_contact(
ContactId = "string"
)
Examples¶
## Not run:
# The following delete-contact example deletes a contact. The contact will
# no longer be reachable from any escalation plan that refers to them.
svc$delete_contact(
ContactId = "arn:aws:ssm-contacts:us-east-1:111122223333:contact/alejr"
)
## End(Not run)