Api keys

Get API keys

Gets the API keys for an organization.

GET
/organizations/{organizationId}/api-keys
x-api-key<token>

In: header

Path Parameters

organizationIdstring
Formatuuid

Query Parameters

apiKey?string
Lengthlength <= 64
name?string
Lengthlength <= 64
projectName?string
Lengthlength <= 256
role?|string
projectIds?array<string>
sort?string
order?string
offset?integer
Default0
Range0 <= value
limit?integer
Default100
Rangevalue <= 1000

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.concord.tech/privacy-v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/api-keys"
{
  "offset": 0,
  "count": 0,
  "total": 0,
  "items": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "apiKey": "43845a17-01cb-476b-8c02-27c26965e86a",
      "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
      "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
      "name": "string",
      "role": "owner",
      "dateCreated": 0,
      "dateUpdated": 0,
      "permissions": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
          "organizationName": "string",
          "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
          "projectName": "string",
          "role": "owner"
        }
      ]
    }
  ]
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "string"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Forbidden"
}
{
  "statusCode": 403,
  "error": "Forbidden",
  "message": "Forbidden"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Not Found"
}
{
  "statusCode": 422,
  "error": "Unprocessable Entity",
  "message": "string"
}
{
  "statusCode": 500,
  "error": "Internal Server Error",
  "message": "Internal Server Error"
}