ActOnPlatformSecurityIncident
POST
/api/v1/platform/security/incidents/{incidentId}/actions
const url = 'https://example.com/api/v1/platform/security/incidents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/actions';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"action":"close","minutes":1}'};
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://example.com/api/v1/platform/security/incidents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/actions \ --header 'Content-Type: application/json' \ --data '{ "action": "close", "minutes": 1 }'Parameters
Abschnitt betitelt „ Parameters “Path Parameters
Abschnitt betitelt „Path Parameters“incidentId
required
string format: uuid
Request Bodyrequired
Abschnitt betitelt „Request Bodyrequired“Media typeapplication/json
object
action
required
minutes
required
null | integer format: int32
Responses
Abschnitt betitelt „ Responses “No Content
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
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"}