Create a target​
Create a new target, which can be used in executions.
Request Body required
Possible values: non-empty
and <= 200 characters
Unique name of the target.
restWebhook object
Possible values: non-empty
and <= 1000 characters
restRequestResponse object
Possible values: non-empty
and <= 1000 characters
Timeout defines the duration until ZITADEL cancels the execution.
Set the execution to run asynchronously.
Define if any error stops the whole execution. By default the process continues as normal.
Request Body required
Possible values: non-empty
and <= 200 characters
Unique name of the target.
restWebhook object
Possible values: non-empty
and <= 1000 characters
restRequestResponse object
Possible values: non-empty
and <= 1000 characters
Timeout defines the duration until ZITADEL cancels the execution.
Set the execution to run asynchronously.
Define if any error stops the whole execution. By default the process continues as normal.
Request Body required
Possible values: non-empty
and <= 200 characters
Unique name of the target.
restWebhook object
Possible values: non-empty
and <= 1000 characters
restRequestResponse object
Possible values: non-empty
and <= 1000 characters
Timeout defines the duration until ZITADEL cancels the execution.
Set the execution to run asynchronously.
Define if any error stops the whole execution. By default the process continues as normal.
- 200
- 201
- 403
- 404
- default
A successful response.
Schema
ID is the read-only unique identifier of the target.
details object
Details provide some base information (such as the last change date) of the target.
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
{
"id": "string",
"details": {
"sequence": "2",
"changeDate": "2024-03-27T06:43:19.736Z",
"resourceOwner": "69629023906488334"
}
}
Schema
ID is the read-only unique identifier of the target.
details object
Details provide some base information (such as the last change date) of the target.
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
{
"id": "string",
"details": {
"sequence": "2",
"changeDate": "2024-03-27T06:43:19.736Z",
"resourceOwner": "69629023906488334"
}
}
Schema
ID is the read-only unique identifier of the target.
details object
Details provide some base information (such as the last change date) of the target.
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
{
"id": "string",
"details": {
"sequence": "2",
"changeDate": "2024-03-27T06:43:19.736Z",
"resourceOwner": "69629023906488334"
}
}
Target successfully created
Schema
ID is the read-only unique identifier of the target.
details object
Details provide some base information (such as the last change date) of the target.
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
{
"id": "string",
"details": {
"sequence": "2",
"changeDate": "2024-03-27T06:43:19.736Z",
"resourceOwner": "69629023906488334"
}
}
Schema
ID is the read-only unique identifier of the target.
details object
Details provide some base information (such as the last change date) of the target.
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
{
"id": "string",
"details": {
"sequence": "2",
"changeDate": "2024-03-27T06:43:19.736Z",
"resourceOwner": "69629023906488334"
}
}
Schema
ID is the read-only unique identifier of the target.
details object
Details provide some base information (such as the last change date) of the target.
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
{
"id": "string",
"details": {
"sequence": "2",
"changeDate": "2024-03-27T06:43:19.737Z",
"resourceOwner": "69629023906488334"
}
}
Returned when the user does not have permission to access the resource.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}