Service Accounts (iam/v2)

List of Service Accounts

General Availability

Retrieve a sorted, filtered, paginated list of all service accounts.

get/iam/v2/service-accounts

Query parameters

display_namestring[]

Filter a collection by a string search for one or more values

Filter the results by exact match for display_name. Pass multiple times to see results matching any of the values.

page_sizeinteger

A pagination size for collection requests.

page_tokenstring

An opaque pagination token for collection requests.

Response

Service Account.

api_version'iam/v2' required

APIVersion defines the schema version of this representation of a resource.

kind'ServiceAccountList' required

Kind defines the object this REST resource represents.

Example response

{
  "metadata": {
    "first": "https://api.confluent.cloud/iam/v2/service-accounts",
    "last": "https://api.confluent.cloud/iam/v2/service-accounts?page_token=bcAOehAY8F16YD84Z1wT",
    "prev": "https://api.confluent.cloud/iam/v2/service-accounts?page_token=YIXRY97wWYmwzrax4dld",
    "next": "https://api.confluent.cloud/iam/v2/service-accounts?page_token=UvmDWOB1iwfAIBPj6EYb",
    "total_size": 123
  },
  "data": [
    {
      "id": "dlz-f3a90de",
      "metadata": {
        "self": "https://api.confluent.cloud/iam/v2/service-accounts/sa-12345",
        "resource_name": "crn://confluent.cloud/service-account=sa-12345",
        "created_at": "2006-01-02T15:04:05-07:00",
        "updated_at": "2006-01-02T15:04:05-07:00",
        "deleted_at": "2006-01-02T15:04:05-07:00"
      },
      "display_name": "DeLorean_auto_repair",
      "description": "Doc's repair bot for the DeLorean"
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.