place.wisp.v2.secret.rotate
Rotate a webhook signing secret, generating a new token. The old token stops working immediately. The new token is only returned in this response.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | secret.v2.wisp.place |
| Indexed |
Showing version bafyreihrx7f2n3yn37eietn324veryrb7igclzkxwxvmrd2mjtza47ok2e. Show the latest
Checks
Validunlimited-stringdefs.main.output.schema.properties.nameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.tokenNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Rotate a webhook signing secret, generating a new token. The old token stops working immediately. The new token is only returned in this response.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "NotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"name": {
"format": "record-key",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"name": {
"type": "string"
},
"rotatedAt": {
"format": "datetime",
"type": "string"
},
"token": {
"description": "The new signing token. Only returned here — store it now.",
"type": "string"
}
},
"required": [
"name",
"token",
"rotatedAt"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "place.wisp.v2.secret.rotate",
"lexicon": 1
}