Get profile by id
curl --request GET \
--url https://api.gcore.com/security/iaas/v2/profiles/{id} \
--header 'Authorization: <api-key>'
{
"id": 123,
"profile_template": {
"id": 123,
"name": "<string>",
"description": "<string>",
"fields": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"field_type": "int",
"required": true,
"default": "<string>",
"validation_schema": {}
}
],
"base_template": 123,
"version": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2023-11-07T05:31:56Z",
"template_sifter": "<string>"
},
"ip_address": "10.32.5.12",
"fields": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"field_type": "<string>",
"required": true,
"default": "<string>",
"field_value": [
12,
54,
43
],
"base_field": 1,
"validation_schema": {}
}
],
"site": "ED",
"options": {
"bgp": true,
"active": true,
"price": "<string>"
},
"protocols": [
{}
],
"status": {},
"plan": "<string>"
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.gcore.com/security/iaas/v2/profiles/{id} \
--header 'Authorization: <api-key>'
{
"id": 123,
"profile_template": {
"id": 123,
"name": "<string>",
"description": "<string>",
"fields": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"field_type": "int",
"required": true,
"default": "<string>",
"validation_schema": {}
}
],
"base_template": 123,
"version": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2023-11-07T05:31:56Z",
"template_sifter": "<string>"
},
"ip_address": "10.32.5.12",
"fields": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"field_type": "<string>",
"required": true,
"default": "<string>",
"field_value": [
12,
54,
43
],
"base_field": 1,
"validation_schema": {}
}
],
"site": "ED",
"options": {
"bgp": true,
"active": true,
"price": "<string>"
},
"protocols": [
{}
],
"status": {},
"plan": "<string>"
}
Get profile by id
curl --request GET \
--url https://api.gcore.com/security/iaas/v2/profiles/{id} \
--header 'Authorization: <api-key>'
{
"id": 123,
"profile_template": {
"id": 123,
"name": "<string>",
"description": "<string>",
"fields": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"field_type": "int",
"required": true,
"default": "<string>",
"validation_schema": {}
}
],
"base_template": 123,
"version": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2023-11-07T05:31:56Z",
"template_sifter": "<string>"
},
"ip_address": "10.32.5.12",
"fields": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"field_type": "<string>",
"required": true,
"default": "<string>",
"field_value": [
12,
54,
43
],
"base_field": 1,
"validation_schema": {}
}
],
"site": "ED",
"options": {
"bgp": true,
"active": true,
"price": "<string>"
},
"protocols": [
{}
],
"status": {},
"plan": "<string>"
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.gcore.com/security/iaas/v2/profiles/{id} \
--header 'Authorization: <api-key>'
{
"id": 123,
"profile_template": {
"id": 123,
"name": "<string>",
"description": "<string>",
"fields": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"field_type": "int",
"required": true,
"default": "<string>",
"validation_schema": {}
}
],
"base_template": 123,
"version": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2023-11-07T05:31:56Z",
"template_sifter": "<string>"
},
"ip_address": "10.32.5.12",
"fields": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"field_type": "<string>",
"required": true,
"default": "<string>",
"field_value": [
12,
54,
43
],
"base_field": 1,
"validation_schema": {}
}
],
"site": "ED",
"options": {
"bgp": true,
"active": true,
"price": "<string>"
},
"protocols": [
{}
],
"status": {},
"plan": "<string>"
}