I think this should be sufficient (according original e-mail):

```

curl "https://bugzilla.redhat.com//rest/user/1?exclude_fields=name"; -H "Authorization: Bearer YOUR_API_KEY"

```

But do you really want to ask users to put this to their cron?

On 2/22/23 18:05, Fabio Valentini wrote:
Does anybody here know the BugZilla Python API?
/me wonders how hard it would be to write a script that posts bogus "I
am still using the API token" requests to RHBZ, and to run that with a
cron job twice a month ...

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to