Skip to content

Set the default finding assignee and optionally assign the backlog

PATCH
/organizations/current/default-assignee
curl --request PATCH \
--url https://api.invogi.com/v1/organizations/current/default-assignee \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "assignee_user_id": "9b0e4d51-27be-4cfa-8fd5-652f4e2d94ad" }'

The assignee must be an active non-viewer member. Optional backlog assignment only affects open, unassigned findings and sends one summary notification.

X-Invogi-Organization
string format: uuid

For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.

Media typeapplication/json
object
assignee_user_id
required
null | string format: uuid
apply_to_existing
boolean

Example

{
"assignee_user_id": "9b0e4d51-27be-4cfa-8fd5-652f4e2d94ad"
}

Successful response

Media typeapplication/json
object
defaultAssigneeUserId
required
null | string
assignedExisting
required
number

Example generated

{
"defaultAssigneeUserId": "example",
"assignedExisting": 1
}

Invalid request

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

Missing or invalid API key

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

API key lacks required scope/role

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}