Update an OAuth application's name, callback URLs, or logo on Vultr while it is in Draft or Rejected status, using the Vultr Console or the Vultr API.
Updating an OAuth application changes its name, callback URLs, or logo. These edits are available while the application is in Draft or Rejected status, which lets you correct details before resubmitting for review. Editing a rejected application also returns it to Draft status and clears its rejection details.
Follow this guide to update an OAuth application using the Vultr Console and the Vultr API.
403 Forbidden response. You can update an application only while it is in Draft or Rejected status. A PendingReview or Active application is locked and returns an HTTP 409 Conflict response. The OIDC provider link is immutable and cannot be changed after creation.
Log in to the Vultr Console.
Click the organization name in the top navigation bar.
Click Manage Organization.
Click OAuth Applications.
Click the Edit icon next to the application you want to update.
Change the Name, Callback URLs, Logo, or Permission Policy as needed.
Click Save Changes.
The updated details appear on the application's management page.
Send a PATCH request to the Update OAuth Client endpoint to change the application. Replace {client-id} with your application id and APP-NAME with the new name. Omit any field you want to leave unchanged.
$ curl "https://api.vultr.com/v2/oauth/clients/{client-id}" \
-X PATCH \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"name": "APP-NAME",
"callback_urls": ["CALLBACK-URL"]
}'
A successful request returns an HTTP 200 OK response with the updated application object. An empty string for name is rejected, so omit the field instead of sending an empty value when you do not want to change it.
Send a GET request to the Read OAuth Client endpoint to retrieve the updated details. Replace {client-id} with your application id.
$ curl "https://api.vultr.com/v2/oauth/clients/{client-id}" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Verify that the updated fields reflect your changes.