Gitlab

    Delete topics

    # Get the ids (there might be multiple pages)
    curl -X GET --header "PRIVATE-TOKEN: XXX"      "https://gitlab.parmentier.io/api/v4/topics?per_page=200" | jq '.[]'
    
    # look for specific ids
    curl --fail --silent -X GET --header "PRIVATE-TOKEN: XXX"      "https://gitlab.parmentier.io/api/v4/topics?per_page=200" | jq '.[] | select(.name == "documentation").id'
    
    # Delete
    curl --request DELETE --header "PRIVATE-TOKEN: TOKEN" "https://gitlab.parmentier.io/api/v4/topics/ID"
    

    Note: token should be created by an administrator user

    source