/v0/accounts/:name/silence (DELETE)
DELETE
/v0/accounts/:name/silence
const url = 'http://localhost:3000/v0/accounts/:name/silence';const options = { method: 'DELETE', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '"example"'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:3000/v0/accounts/:name/silence \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '"example"'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” name
required
Characters must be [A-Za-z0-9-.] The first and last characters must be [A-Za-z0-9-.]
string
Example
example_manCharacters must be [A-Za-z0-9-.] The first and last characters must be [A-Za-z0-9-.]
Request Body
Section titled “Request Body ” Media type application/json
Example generated
exampleResponses
Section titled “ Responses ”No Content
Forbidden
Media type application/json
You can not do this action.
object
error
required
You can’t do this action.
string
Example
{ "error": "NO_PERMISSION"}Not Found
Media type application/json
Account not found
object
error
required
Account not found.
string
Example
{ "error": "ACCOUNT_NOT_FOUND"}Internal Server Error
Media type application/json
object
error
required
Internal server error.
string
Example
{ "error": "INTERNAL_ERROR"}