Skip to content

Re-initialize all non-departed services

POST
/v2/clients/{client_id}/domains/{domain_id}/services/init
curl --request POST \
--url https://staging-pie.streamline.enterprises/v2/clients/client-1/domains/south_australia/services/init \
--header 'Authorization: Bearer <token>'

Triggers re-initialization for all non-departed services in the domain. Each service is re-resolved against current feature definitions and inference is re-triggered on the domain model.

client_id
required
string
Example
client-1
domain_id
required
string
Example
south_australia

Batch re-initialization started

Media type application/json
object
reinitializing_services
required

Service IDs that are being re-initialized

Array<string>
Example generated
{
"reinitializing_services": [
"example"
]
}

Validation error — malformed input, invalid path parameters, or request that fails syntactic validation.

Media type application/json
object
success
required
boolean
message
required

Human-readable error message

string
Example
{
"success": false
}

Missing or invalid Authorization bearer token, expired token, or token rejected by the authorization layer (e.g. API Gateway JWT authorizer or application validation).

Media type application/json
object
success
required
boolean
message
required

Human-readable error message

string
Example
{
"success": false
}

Authenticated caller lacks the permission required for this operation.

Media type application/json
object
success
required
boolean
message
required

Human-readable error message

string
Example
{
"success": false
}

Requested resource was not found.

Media type application/json
object
success
required
boolean
message
required

Human-readable error message

string
Example
{
"success": false
}

Semantically invalid request — e.g. domain not active, no model assigned, feature contract mismatch, or invalid feature definitions.

Media type application/json
object
success
required
boolean
message
required

Human-readable error message

string
Example
{
"success": false
}