Set default anon key
Changed onPromotes the given key to the project's configured default. At most one key per project can be default.
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Project ID
Response
Key set as default
JWT token - use this in frontend Authorization header
Permissions granted to this anon key. Auth permissions: auth.signup, auth.signin, auth.refresh, auth.logout, auth.password_reset, auth.confirm_email, auth.resend_confirmation Storage permissions: storage.upload, storage.download, storage.list, storage.delete Realtime permissions: realtime.connect, realtime.subscribe, realtime.publish Functions permissions: functions.invoke
Whether this is the project's configured default anon key. Only one key per project can be default.
Example response
{
"permissions": [
"auth.signup",
"auth.signin",
"auth.refresh",
"auth.logout"
]
}Changes
- info
the endpoint scheme security
ProjectAccessTokenwas added to the API
- info
- breaking
added the new path request parameter
id - breaking
the response's body type changed from no type to
objectfor status
10 more changes in this revision
- breaking