LockPlatformAccount
POST
/api/v1/platform/security/accounts/{userId}/lock
const url = 'https://example.com/api/v1/platform/security/accounts/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/lock';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"until":"2026-04-15T12:00:00Z","incidentId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}'};
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/accounts/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/lock \ --header 'Content-Type: application/json' \ --data '{ "until": "2026-04-15T12:00:00Z", "incidentId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”userId
required
string format: uuid
Request Body
Section titled “Request Body”Responses
Section titled “ Responses ”OK
Media typeapplication/json
object
userId
required
string format: uuid
lockedAt
required
string format: date-time
until
required
null | string format: date-time
incidentId
required
null | string format: uuid
Examplegenerated
{ "userId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "lockedAt": "2026-04-15T12:00:00Z", "until": "2026-04-15T12:00:00Z", "incidentId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}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"}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"}