Acknowledge a billing notice
POST
/billing/notices/{id}/ack
const url = 'https://api.sloose.com/billing/notices/ntc_4d19/ack';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.sloose.com/billing/notices/ntc_4d19/ack \ --header 'Authorization: Bearer <token>'Marks a notice as seen so the UI stops showing it. Acknowledging does not resolve the underlying problem.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
The notice id.
string
Example
ntc_4d19The notice id.
Responses
Section titled “Responses”The notice, now acknowledged.
Media typeapplication/json
object
id
required
string
orgId
required
string
kind
required
string
createdAt
required
string
acknowledgedAt
required
string | null
resolvedAt
required
string | null
key
additional properties
Examplegenerated
{ "id": "example", "orgId": "example", "kind": "example", "createdAt": "example", "acknowledgedAt": "example", "resolvedAt": "example"}No bearer, or one that is expired, revoked or no longer resolves to a member.
Media typeapplication/json
The error envelope every non-2xx answer uses.
object
error
required
Human-readable explanation.
string
code
Machine-readable reason. Absent on a few legacy 400s.
string
key
additional properties
Examplegenerated
{ "error": "example", "code": "example"}The bearer’s role is too low, or it was issued for a different org.
Media typeapplication/json
The error envelope every non-2xx answer uses.
object
error
required
Human-readable explanation.
string
code
Machine-readable reason. Absent on a few legacy 400s.
string
key
additional properties
Examplegenerated
{ "error": "example", "code": "example"}No such notice on this org.
Media typeapplication/json
object
error
required
string
key
additional properties
Examplegenerated
{ "error": "example"}