Error
A valid request URL is required to generate request examples{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}Banners
Close a banner
Records that this person closed one. The banner stops coming back for them, on this device and every other, until it is deleted.
204 whatever happened, and the cases it collapses are deliberate: already closed, a banner of another tenant, a banner that does not exist. The alternative is a 404 that answers “does this uuid exist in this system” to anybody holding a publishable key. It is safe to send twice — the first close is the one that is kept, and a retry moves nothing.
Closing a non-dismissible banner is recorded rather than refused, and the read ignores it. So a client does not have to know the rule to avoid an error, and a banner you later make dismissible is already closed for the people who tried.
POST
/
v1
/
contact
/
banners
/
{id}
/
dismiss
Error
A valid request URL is required to generate request examples{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}