Target by ID
GEThttps://$CUSTOM-DOMAIN/resources/v3alpha/actions/targets/:id
Returns the target identified by the requested ID.
Request​
Path Parameters
id stringrequired
Query Parameters
instance.id string
instance.domain string
Responses​
- 200
- 403
- 404
- default
Target successfully retrieved
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
target
object
{
"target": {
"details": {
"id": "69629012906488334",
"created": "2025-03-04T16:03:34.658Z",
"changed": "2025-03-04T16:03:34.658Z",
"owner": "69629023906488334"
},
"config": {
"name": "ip_allow_list",
"restWebhook": {
"interruptOnError": true
},
"restCall": {
"interruptOnError": true
},
"restAsync": {},
"timeout": "10s",
"endpoint": "https://example.com/hooks/ip_check"
},
"signingKey": "98KmsU67"
}
}
- Schema
- Example (from schema)
Schema
target
object
{
"target": {
"details": {
"id": "69629012906488334",
"created": "2025-03-04T16:03:34.659Z",
"changed": "2025-03-04T16:03:34.659Z",
"owner": "69629023906488334"
},
"config": {
"name": "ip_allow_list",
"restWebhook": {
"interruptOnError": true
},
"restCall": {
"interruptOnError": true
},
"restAsync": {},
"timeout": "10s",
"endpoint": "https://example.com/hooks/ip_check"
},
"signingKey": "98KmsU67"
}
}
- Schema
- Example (from schema)
Schema
target
object
{
"target": {
"details": {
"id": "69629012906488334",
"created": "2025-03-04T16:03:34.660Z",
"changed": "2025-03-04T16:03:34.660Z",
"owner": "69629023906488334"
},
"config": {
"name": "ip_allow_list",
"restWebhook": {
"interruptOnError": true
},
"restCall": {
"interruptOnError": true
},
"restAsync": {},
"timeout": "10s",
"endpoint": "https://example.com/hooks/ip_check"
},
"signingKey": "98KmsU67"
}
}
Returned when the user does not have permission to access the resource.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://$CUSTOM-DOMAIN/resources/v3alpha/actions/targets/:id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear