oauth_clients

Replace an app's client secret [write]

Changed on

The previous secret stops working at once. People who already allowed the app keep their access.

post/oauth_clients/{id}/rotate_secret

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/oauth_clients/{id}/rotate_secret
  • Auth
    HTTP bearer

Path parameters

idstring required

The app's client id.

Response

OK

client_secretstring required

Shown in this response only. Keep it on your server.

Changes