DELETE
/api/security/role/{name}
curl \
--request DELETE 'https://localhost:5601/api/security/role/{name}' \
--header "Authorization: $API_KEY" \
--header "kbn-xsrf: true"
Accept: text/markdown header,
or by appending .md to the page URL.
curl \
--request DELETE 'https://localhost:5601/api/security/role/{name}' \
--header "Authorization: $API_KEY" \
--header "kbn-xsrf: true"