cURL
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>", "fields": [ { "id": 123, "name": "<string>", "description": "<string>", "field_type": "int", "required": true, "default": "<string>", "validation_schema": {} } ], "version": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created": "2023-11-07T05:31:56Z", "description": "<string>", "base_template": 123, "template_sifter": "<string>" }, "fields": [ { "id": 123, "name": "<string>", "description": "<string>", "field_type": "<string>", "required": true, "default": "<string>", "base_field": 123, "validation_schema": {}, "field_value": {} } ], "site": "<string>", "options": { "bgp": true, "active": true, "price": "<string>" }, "protocols": [ {} ], "status": {}, "plan": "<string>", "ip_address": "<string>" }
Get profile by id
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Show child attributes
"ED"
"DC3"
50
"10.32.5.12"
"195.23.43.64"
Was this page helpful?