Suppress the automatic attack mode of one scope for up to an hour, with a reason
PUT
/api/v1/platform/security/attack-mode/scopes/{scope}/suppression
const url = 'https://example.com/api/v1/platform/security/attack-mode/scopes/example/suppression';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"minutes":1,"reason":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/platform/security/attack-mode/scopes/example/suppression \ --header 'Content-Type: application/json' \ --data '{ "minutes": 1, "reason": "example" }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”scope
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
minutes
required
integer format: int32
reason
required
null | string
Examplegenerated
{ "minutes": 1, "reason": "example"}Responses
Section titled “ Responses ”OK
Media typeapplication/json
object
active
required
boolean
pinned
required
boolean
until
required
null | string format: date-time
changedBy
required
null | string format: uuid
changedAt
required
null | string format: date-time
scopes
Array<object>
object
scope
required
active
required
boolean
since
required
null | string format: date-time
endsAtEarliest
required
null | string format: date-time
Example
{ "scopes": [ { "scope": "SignIn", "trigger": "Flood" } ]}Bad Request
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
errors
object
key
additional properties
Array<string>
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "errors": { "additionalProperty": [ "example" ] }}Forbidden
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Conflict
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Too Many Requests
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Service Unavailable
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}