Get information about your profile, users and other account details.
curl --request GET \
--url https://api.gcore.com/iam/clients/me \
--header 'Authorization: <api-key>'
{
"id": 123,
"users": [
{
"id": 123,
"email": "jsmith@example.com",
"name": "<string>",
"lang": "de",
"phone": "<string>",
"company": "<string>",
"reseller": 123,
"client": 123,
"deleted": true,
"groups": [
{
"id": 1,
"name": "Administrators"
}
],
"activated": true,
"sso_auth": true,
"two_fa": true,
"auth_types": [
"password"
]
}
],
"email": "jsmith@example.com",
"phone": "<string>",
"name": "<string>",
"status": "new",
"companyName": "<string>",
"website": "<string>",
"currentUser": 123,
"capabilities": [
"CDN"
],
"serviceStatuses": {
"CDN": {
"status": "new",
"enabled": true
},
"CLOUD": {
"status": "new",
"enabled": true
},
"DDOS": {
"status": "new",
"enabled": true
},
"DNS": {
"status": "new",
"enabled": true
},
"STORAGE": {
"status": "new",
"enabled": true
},
"STREAMING": {
"status": "new",
"enabled": true
}
},
"paidFeatures": {
"CDN": [
{
"feature_id": 1,
"name": "paid feature name",
"service": "CDN"
}
],
"STREAMING": [
{
"feature_id": 2,
"name": "another paid feature name",
"service": "STREAMING"
}
]
},
"freeFeatures": {
"CDN": [
{
"feature_id": 1,
"name": "free feature name",
"service": "CDN"
}
],
"STREAMING": [
{
"feature_id": 2,
"name": "another free feature name",
"service": "STREAMING"
}
]
},
"entryBaseDomain": "<string>",
"signup_process": "sign_up_full",
"deleted": true,
"bill_type": "<string>",
"custom_id": "<string>",
"country_code": "<string>",
"is_test": true,
"has_active_admin": true
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
OK
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.gcore.com/iam/clients/me \
--header 'Authorization: <api-key>'
{
"id": 123,
"users": [
{
"id": 123,
"email": "jsmith@example.com",
"name": "<string>",
"lang": "de",
"phone": "<string>",
"company": "<string>",
"reseller": 123,
"client": 123,
"deleted": true,
"groups": [
{
"id": 1,
"name": "Administrators"
}
],
"activated": true,
"sso_auth": true,
"two_fa": true,
"auth_types": [
"password"
]
}
],
"email": "jsmith@example.com",
"phone": "<string>",
"name": "<string>",
"status": "new",
"companyName": "<string>",
"website": "<string>",
"currentUser": 123,
"capabilities": [
"CDN"
],
"serviceStatuses": {
"CDN": {
"status": "new",
"enabled": true
},
"CLOUD": {
"status": "new",
"enabled": true
},
"DDOS": {
"status": "new",
"enabled": true
},
"DNS": {
"status": "new",
"enabled": true
},
"STORAGE": {
"status": "new",
"enabled": true
},
"STREAMING": {
"status": "new",
"enabled": true
}
},
"paidFeatures": {
"CDN": [
{
"feature_id": 1,
"name": "paid feature name",
"service": "CDN"
}
],
"STREAMING": [
{
"feature_id": 2,
"name": "another paid feature name",
"service": "STREAMING"
}
]
},
"freeFeatures": {
"CDN": [
{
"feature_id": 1,
"name": "free feature name",
"service": "CDN"
}
],
"STREAMING": [
{
"feature_id": 2,
"name": "another free feature name",
"service": "STREAMING"
}
]
},
"entryBaseDomain": "<string>",
"signup_process": "sign_up_full",
"deleted": true,
"bill_type": "<string>",
"custom_id": "<string>",
"country_code": "<string>",
"is_test": true,
"has_active_admin": true
}
Get information about your profile, users and other account details.
curl --request GET \
--url https://api.gcore.com/iam/clients/me \
--header 'Authorization: <api-key>'
{
"id": 123,
"users": [
{
"id": 123,
"email": "jsmith@example.com",
"name": "<string>",
"lang": "de",
"phone": "<string>",
"company": "<string>",
"reseller": 123,
"client": 123,
"deleted": true,
"groups": [
{
"id": 1,
"name": "Administrators"
}
],
"activated": true,
"sso_auth": true,
"two_fa": true,
"auth_types": [
"password"
]
}
],
"email": "jsmith@example.com",
"phone": "<string>",
"name": "<string>",
"status": "new",
"companyName": "<string>",
"website": "<string>",
"currentUser": 123,
"capabilities": [
"CDN"
],
"serviceStatuses": {
"CDN": {
"status": "new",
"enabled": true
},
"CLOUD": {
"status": "new",
"enabled": true
},
"DDOS": {
"status": "new",
"enabled": true
},
"DNS": {
"status": "new",
"enabled": true
},
"STORAGE": {
"status": "new",
"enabled": true
},
"STREAMING": {
"status": "new",
"enabled": true
}
},
"paidFeatures": {
"CDN": [
{
"feature_id": 1,
"name": "paid feature name",
"service": "CDN"
}
],
"STREAMING": [
{
"feature_id": 2,
"name": "another paid feature name",
"service": "STREAMING"
}
]
},
"freeFeatures": {
"CDN": [
{
"feature_id": 1,
"name": "free feature name",
"service": "CDN"
}
],
"STREAMING": [
{
"feature_id": 2,
"name": "another free feature name",
"service": "STREAMING"
}
]
},
"entryBaseDomain": "<string>",
"signup_process": "sign_up_full",
"deleted": true,
"bill_type": "<string>",
"custom_id": "<string>",
"country_code": "<string>",
"is_test": true,
"has_active_admin": true
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
OK
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.gcore.com/iam/clients/me \
--header 'Authorization: <api-key>'
{
"id": 123,
"users": [
{
"id": 123,
"email": "jsmith@example.com",
"name": "<string>",
"lang": "de",
"phone": "<string>",
"company": "<string>",
"reseller": 123,
"client": 123,
"deleted": true,
"groups": [
{
"id": 1,
"name": "Administrators"
}
],
"activated": true,
"sso_auth": true,
"two_fa": true,
"auth_types": [
"password"
]
}
],
"email": "jsmith@example.com",
"phone": "<string>",
"name": "<string>",
"status": "new",
"companyName": "<string>",
"website": "<string>",
"currentUser": 123,
"capabilities": [
"CDN"
],
"serviceStatuses": {
"CDN": {
"status": "new",
"enabled": true
},
"CLOUD": {
"status": "new",
"enabled": true
},
"DDOS": {
"status": "new",
"enabled": true
},
"DNS": {
"status": "new",
"enabled": true
},
"STORAGE": {
"status": "new",
"enabled": true
},
"STREAMING": {
"status": "new",
"enabled": true
}
},
"paidFeatures": {
"CDN": [
{
"feature_id": 1,
"name": "paid feature name",
"service": "CDN"
}
],
"STREAMING": [
{
"feature_id": 2,
"name": "another paid feature name",
"service": "STREAMING"
}
]
},
"freeFeatures": {
"CDN": [
{
"feature_id": 1,
"name": "free feature name",
"service": "CDN"
}
],
"STREAMING": [
{
"feature_id": 2,
"name": "another free feature name",
"service": "STREAMING"
}
]
},
"entryBaseDomain": "<string>",
"signup_process": "sign_up_full",
"deleted": true,
"bill_type": "<string>",
"custom_id": "<string>",
"country_code": "<string>",
"is_test": true,
"has_active_admin": true
}