Get current identity
Returns details about the account that owns the API key used to authenticate the request
GEThttps://api.devalgoseek.com/api/v1/account/my#
Returns details about the account that owns the API key used to authenticate the request
Responses#
- 200
- 403
Successful Response
- application/json
- Schema
- Example (auto)
Schema
identity_idintegerrequired
The unique identifier of the identity.
Example:
1622namestringrequired
Name of the identity.
Example:
John Doemax_active_api_keysintegerrequired
The number of API keys allowed for the account.
Example:
6ip_subnetsipv4network[]required
List of IP subnets/addresses in CIDR notation for which the data access is authorized.
Example:
["3.52.0.0/24","164.12.58.10/32"]{
"identity_id": 1622,
"name": "John Doe",
"max_active_api_keys": 6,
"ip_subnets": [
"3.52.0.0/24",
"164.12.58.10/32"
]
}
Forbidden
- application/json
No schema
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- postman-cli
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.devalgoseek.com/api/v1/account/my");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("X-API-KEY", "<X-API-KEY>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Response
Click the Send API Request button above and see the response here!