# Workload Identity Providers

## Create Platform workload identity provider

**post** `/organization/workload_identity_providers`

Register an OIDC provider for keyless project service-account authentication.

### Body Parameters

Content type: `application/json`

- `audience: string`

  `minLength: 1`

- `issuer: string`

  `minLength: 1`

- `name: string`

  `minLength: 1`

- `type: "oidc" (default: "oidc")`

  - `"oidc"`

- `attribute_transformations: optional array of object { attribute, expression }`

  `maxItems: 20`

  - `attribute: string`

    `minLength: 1`, `maxLength: 256`

  - `expression: string`

    `minLength: 1`, `maxLength: 4096`

- `description: optional string`

- `enabled: optional boolean`

- `verification: optional DiscoveryVerificationParam { discovery_url, type }  or UploadedJwksVerificationParam { jwks, type }`

  - `DiscoveryVerificationParam object { discovery_url, type }`

    - `discovery_url: string or null`

    - `type: "discovery" (default: "discovery")`

      - `"discovery"`

  - `UploadedJwksVerificationParam object { jwks, type }`

    - `jwks: map[unknown]`

    - `type: "uploaded_jwks" (default: "uploaded_jwks")`

      - `"uploaded_jwks"`

### Returns

- `WorkloadIdentityProvider object { id, attribute_transformations, audience, 9 more }`

  - `id: string`

  - `attribute_transformations: array of object { attribute, expression }`

    - `attribute: string`

    - `expression: string`

  - `audience: string`

  - `created_at: integer`

  - `description: string or null`

  - `enabled: boolean`

  - `issuer: string`

  - `name: string`

  - `object: "organization.workload_identity_provider" (default: "organization.workload_identity_provider")`

    - `"organization.workload_identity_provider"`

  - `type: "oidc" (default: "oidc")`

    - `"oidc"`

  - `updated_at: integer`

  - `verification: DiscoveryVerification { discovery_url, type }  or UploadedJwksVerification { jwks, type }`

    - `DiscoveryVerification object { discovery_url, type }`

      - `discovery_url: string or null`

      - `type: "discovery" (default: "discovery")`

        - `"discovery"`

    - `UploadedJwksVerification object { jwks, type }`

      - `jwks: map[unknown]`

      - `type: "uploaded_jwks" (default: "uploaded_jwks")`

        - `"uploaded_jwks"`

### Example

```http
curl -X POST "https://api.openai.com/v1/organization/workload_identity_providers" \
  -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "CI provider",
  "type": "oidc",
  "issuer": "https://issuer.example.com",
  "audience": "openai"
}'
```

#### Response example

```json
{
  "object": "organization.workload_identity_provider",
  "id": "wip_example",
  "type": "oidc",
  "name": "CI provider",
  "issuer": "https://issuer.example.com",
  "audience": "openai",
  "verification": {
    "type": "discovery",
    "discovery_url": null
  },
  "description": null,
  "attribute_transformations": [],
  "enabled": true,
  "created_at": 1793664000,
  "updated_at": 1793664000
}
```

## Delete Platform workload identity provider

**delete** `/organization/workload_identity_providers/{workload_identity_provider_id}`

Delete a provider after deleting all its federation rules.

### Path Parameters

- `workload_identity_provider_id: string`

  `minLength: 1`

### Returns

- `WorkloadIdentityProviderDeleted object { id, deleted, object }`

  - `id: string`

  - `deleted: boolean`

  - `object: "organization.workload_identity_provider.deleted" (default: "organization.workload_identity_provider.deleted")`

    - `"organization.workload_identity_provider.deleted"`

### Example

```http
curl -X DELETE "https://api.openai.com/v1/organization/workload_identity_providers/wip_example" \
  -H "Authorization: Bearer $OPENAI_ADMIN_KEY"
```

#### Response example

```json
{
  "object": "organization.workload_identity_provider.deleted",
  "id": "wip_example",
  "deleted": true
}
```

## List Platform workload identity providers

**get** `/organization/workload_identity_providers`

List OIDC providers in the authenticated Admin API key's organization.

### Query Parameters

- `after: optional string`

  `minLength: 1`

- `limit: optional integer`

  `minimum: 1`, `maximum: 100`

- `order: optional "asc" or "desc"`

  - `"asc" or "desc"`

    - `"asc"`

    - `"desc"`

### Returns

- `data: array of WorkloadIdentityProvider`

  - `id: string`

  - `attribute_transformations: array of object { attribute, expression }`

    - `attribute: string`

    - `expression: string`

  - `audience: string`

  - `created_at: integer`

  - `description: string or null`

  - `enabled: boolean`

  - `issuer: string`

  - `name: string`

  - `object: "organization.workload_identity_provider" (default: "organization.workload_identity_provider")`

    - `"organization.workload_identity_provider"`

  - `type: "oidc" (default: "oidc")`

    - `"oidc"`

  - `updated_at: integer`

  - `verification: DiscoveryVerification { discovery_url, type }  or UploadedJwksVerification { jwks, type }`

    - `DiscoveryVerification object { discovery_url, type }`

      - `discovery_url: string or null`

      - `type: "discovery" (default: "discovery")`

        - `"discovery"`

    - `UploadedJwksVerification object { jwks, type }`

      - `jwks: map[unknown]`

      - `type: "uploaded_jwks" (default: "uploaded_jwks")`

        - `"uploaded_jwks"`

- `first_id: string or null`

- `has_more: boolean`

- `last_id: string or null`

- `object: "list" (default: "list")`

  - `"list"`

### Example

```http
curl -X GET "https://api.openai.com/v1/organization/workload_identity_providers?limit=20&order=asc" \
  -H "Authorization: Bearer $OPENAI_ADMIN_KEY"
```

#### Response example

```json
{
  "object": "list",
  "data": [
    {
      "object": "organization.workload_identity_provider",
      "id": "wip_example",
      "type": "oidc",
      "name": "CI provider",
      "issuer": "https://issuer.example.com",
      "audience": "openai",
      "verification": {
        "type": "discovery",
        "discovery_url": null
      },
      "description": null,
      "attribute_transformations": [],
      "enabled": true,
      "created_at": 1793664000,
      "updated_at": 1793664000
    }
  ],
  "first_id": "wip_example",
  "last_id": "wip_example",
  "has_more": false
}
```

## Retrieve Platform workload identity provider

**get** `/organization/workload_identity_providers/{workload_identity_provider_id}`

Retrieve an OIDC provider in the authenticated organization.

### Path Parameters

- `workload_identity_provider_id: string`

  `minLength: 1`

### Returns

- `WorkloadIdentityProvider object { id, attribute_transformations, audience, 9 more }`

  - `id: string`

  - `attribute_transformations: array of object { attribute, expression }`

    - `attribute: string`

    - `expression: string`

  - `audience: string`

  - `created_at: integer`

  - `description: string or null`

  - `enabled: boolean`

  - `issuer: string`

  - `name: string`

  - `object: "organization.workload_identity_provider" (default: "organization.workload_identity_provider")`

    - `"organization.workload_identity_provider"`

  - `type: "oidc" (default: "oidc")`

    - `"oidc"`

  - `updated_at: integer`

  - `verification: DiscoveryVerification { discovery_url, type }  or UploadedJwksVerification { jwks, type }`

    - `DiscoveryVerification object { discovery_url, type }`

      - `discovery_url: string or null`

      - `type: "discovery" (default: "discovery")`

        - `"discovery"`

    - `UploadedJwksVerification object { jwks, type }`

      - `jwks: map[unknown]`

      - `type: "uploaded_jwks" (default: "uploaded_jwks")`

        - `"uploaded_jwks"`

### Example

```http
curl -X GET "https://api.openai.com/v1/organization/workload_identity_providers/wip_example" \
  -H "Authorization: Bearer $OPENAI_ADMIN_KEY"
```

#### Response example

```json
{
  "object": "organization.workload_identity_provider",
  "id": "wip_example",
  "type": "oidc",
  "name": "CI provider",
  "issuer": "https://issuer.example.com",
  "audience": "openai",
  "verification": {
    "type": "discovery",
    "discovery_url": null
  },
  "description": null,
  "attribute_transformations": [],
  "enabled": true,
  "created_at": 1793664000,
  "updated_at": 1793664000
}
```

## Update Platform workload identity provider

**post** `/organization/workload_identity_providers/{workload_identity_provider_id}`

Update supplied provider fields, preserving omitted fields.

### Path Parameters

- `workload_identity_provider_id: string`

  `minLength: 1`

### Body Parameters

Content type: `application/json`

- `attribute_transformations: optional array of object { attribute, expression }`

  `maxItems: 20`

  - `attribute: string`

    `minLength: 1`, `maxLength: 256`

  - `expression: string`

    `minLength: 1`, `maxLength: 4096`

- `audience: optional string`

  `minLength: 1`

- `description: optional string or null`

- `enabled: optional boolean`

- `issuer: optional string`

  `minLength: 1`

- `name: optional string`

  `minLength: 1`

- `verification: optional DiscoveryVerificationParam { discovery_url, type }  or UploadedJwksVerificationParam { jwks, type }`

  - `DiscoveryVerificationParam object { discovery_url, type }`

    - `discovery_url: string or null`

    - `type: "discovery" (default: "discovery")`

      - `"discovery"`

  - `UploadedJwksVerificationParam object { jwks, type }`

    - `jwks: map[unknown]`

    - `type: "uploaded_jwks" (default: "uploaded_jwks")`

      - `"uploaded_jwks"`

### Returns

- `WorkloadIdentityProvider object { id, attribute_transformations, audience, 9 more }`

  - `id: string`

  - `attribute_transformations: array of object { attribute, expression }`

    - `attribute: string`

    - `expression: string`

  - `audience: string`

  - `created_at: integer`

  - `description: string or null`

  - `enabled: boolean`

  - `issuer: string`

  - `name: string`

  - `object: "organization.workload_identity_provider" (default: "organization.workload_identity_provider")`

    - `"organization.workload_identity_provider"`

  - `type: "oidc" (default: "oidc")`

    - `"oidc"`

  - `updated_at: integer`

  - `verification: DiscoveryVerification { discovery_url, type }  or UploadedJwksVerification { jwks, type }`

    - `DiscoveryVerification object { discovery_url, type }`

      - `discovery_url: string or null`

      - `type: "discovery" (default: "discovery")`

        - `"discovery"`

    - `UploadedJwksVerification object { jwks, type }`

      - `jwks: map[unknown]`

      - `type: "uploaded_jwks" (default: "uploaded_jwks")`

        - `"uploaded_jwks"`

### Example

```http
curl -X POST "https://api.openai.com/v1/organization/workload_identity_providers/wip_example" \
  -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "enabled": false
}'
```

#### Response example

```json
{
  "object": "organization.workload_identity_provider",
  "id": "wip_example",
  "type": "oidc",
  "name": "CI provider",
  "issuer": "https://issuer.example.com",
  "audience": "openai",
  "verification": {
    "type": "discovery",
    "discovery_url": null
  },
  "description": null,
  "attribute_transformations": [],
  "enabled": false,
  "created_at": 1793664000,
  "updated_at": 1793664000
}
```

## Domain Types

### Workload Identity Provider

- `WorkloadIdentityProvider object { id, attribute_transformations, audience, 9 more }`

  - `id: string`

  - `attribute_transformations: array of object { attribute, expression }`

    - `attribute: string`

    - `expression: string`

  - `audience: string`

  - `created_at: integer`

  - `description: string or null`

  - `enabled: boolean`

  - `issuer: string`

  - `name: string`

  - `object: "organization.workload_identity_provider" (default: "organization.workload_identity_provider")`

    - `"organization.workload_identity_provider"`

  - `type: "oidc" (default: "oidc")`

    - `"oidc"`

  - `updated_at: integer`

  - `verification: DiscoveryVerification { discovery_url, type }  or UploadedJwksVerification { jwks, type }`

    - `DiscoveryVerification object { discovery_url, type }`

      - `discovery_url: string or null`

      - `type: "discovery" (default: "discovery")`

        - `"discovery"`

    - `UploadedJwksVerification object { jwks, type }`

      - `jwks: map[unknown]`

      - `type: "uploaded_jwks" (default: "uploaded_jwks")`

        - `"uploaded_jwks"`

### Workload Identity Provider Deleted

- `WorkloadIdentityProviderDeleted object { id, deleted, object }`

  - `id: string`

  - `deleted: boolean`

  - `object: "organization.workload_identity_provider.deleted" (default: "organization.workload_identity_provider.deleted")`

    - `"organization.workload_identity_provider.deleted"`

# Federation Rules

## Create Platform workload identity federation rule

**post** `/organization/workload_identity_providers/{workload_identity_provider_id}/federation_rules`

Bind verified token attributes to an existing project service account.

### Path Parameters

- `workload_identity_provider_id: string`

  `minLength: 1`

### Body Parameters

Content type: `application/json`

- `attribute_matchers: map[string or boolean or number or number]`

  - `string`

  - `boolean`

  - `number or number`

    - `number`

    - `number`

- `project_id: string`

  `minLength: 1`

- `service_account_id: string`

  `minLength: 1`

- `description: optional string`

- `enabled: optional boolean`

- `name: optional string`

- `permissions: optional DefaultPermissionsParam { type }  or RestrictedPermissionsParam { scopes, type }`

  - `DefaultPermissionsParam object { type }`

    - `type: "service_account_default" (default: "service_account_default")`

      - `"service_account_default"`

  - `RestrictedPermissionsParam object { scopes, type }`

    - `scopes: array of string`

      `minItems: 1`

    - `type: "restricted" (default: "restricted")`

      - `"restricted"`

### Returns

- `FederationRule object { id, attribute_matchers, created_at, 9 more }`

  - `id: string`

  - `attribute_matchers: map[string or boolean or number or number]`

    - `string`

    - `boolean`

    - `number or number`

      - `number`

      - `number`

  - `created_at: integer`

  - `description: string or null`

  - `enabled: boolean`

  - `name: string or null`

  - `object: "organization.workload_identity_federation_rule" (default: "organization.workload_identity_federation_rule")`

    - `"organization.workload_identity_federation_rule"`

  - `permissions: DefaultPermissions { type }  or RestrictedPermissions { scopes, type }`

    - `DefaultPermissions object { type }`

      - `type: "service_account_default" (default: "service_account_default")`

        - `"service_account_default"`

    - `RestrictedPermissions object { scopes, type }`

      - `scopes: array of string`

      - `type: "restricted" (default: "restricted")`

        - `"restricted"`

  - `project_id: string`

  - `service_account_id: string`

  - `updated_at: integer`

  - `workload_identity_provider_id: string`

### Example

```http
curl -X POST "https://api.openai.com/v1/organization/workload_identity_providers/wip_example/federation_rules" \
  -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "project_id": "proj_example",
  "service_account_id": "svc_acct_example",
  "attribute_matchers": {
    "sub": "ci:release"
  }
}'
```

#### Response example

```json
{
  "object": "organization.workload_identity_federation_rule",
  "id": "wifr_example",
  "workload_identity_provider_id": "wip_example",
  "project_id": "proj_example",
  "service_account_id": "svc_acct_example",
  "name": null,
  "description": null,
  "attribute_matchers": {
    "sub": "ci:release"
  },
  "permissions": {
    "type": "service_account_default"
  },
  "enabled": true,
  "created_at": 1793664000,
  "updated_at": 1793664000
}
```

## Delete Platform workload identity federation rule

**delete** `/organization/workload_identity_providers/{workload_identity_provider_id}/federation_rules/{workload_identity_federation_rule_id}`

Delete a federation rule to a project service account.

### Path Parameters

- `workload_identity_provider_id: string`

  `minLength: 1`

- `workload_identity_federation_rule_id: string`

  `minLength: 1`

### Returns

- `FederationRuleDeleted object { id, deleted, object }`

  - `id: string`

  - `deleted: boolean`

  - `object: "organization.workload_identity_federation_rule.deleted" (default: "organization.workload_identity_federation_rule.deleted")`

    - `"organization.workload_identity_federation_rule.deleted"`

### Example

```http
curl -X DELETE "https://api.openai.com/v1/organization/workload_identity_providers/wip_example/federation_rules/wifr_example" \
  -H "Authorization: Bearer $OPENAI_ADMIN_KEY"
```

#### Response example

```json
{
  "object": "organization.workload_identity_federation_rule.deleted",
  "id": "wifr_example",
  "deleted": true
}
```

## List Platform workload identity federation rules

**get** `/organization/workload_identity_providers/{workload_identity_provider_id}/federation_rules`

List the provider's federation rules to project service accounts.

### Path Parameters

- `workload_identity_provider_id: string`

  `minLength: 1`

### Query Parameters

- `after: optional string`

  `minLength: 1`

- `limit: optional integer`

  `minimum: 1`, `maximum: 100`

- `order: optional "asc" or "desc"`

  - `"asc" or "desc"`

    - `"asc"`

    - `"desc"`

- `service_account_id: optional string`

  `minLength: 1`

### Returns

- `data: array of FederationRule`

  - `id: string`

  - `attribute_matchers: map[string or boolean or number or number]`

    - `string`

    - `boolean`

    - `number or number`

      - `number`

      - `number`

  - `created_at: integer`

  - `description: string or null`

  - `enabled: boolean`

  - `name: string or null`

  - `object: "organization.workload_identity_federation_rule" (default: "organization.workload_identity_federation_rule")`

    - `"organization.workload_identity_federation_rule"`

  - `permissions: DefaultPermissions { type }  or RestrictedPermissions { scopes, type }`

    - `DefaultPermissions object { type }`

      - `type: "service_account_default" (default: "service_account_default")`

        - `"service_account_default"`

    - `RestrictedPermissions object { scopes, type }`

      - `scopes: array of string`

      - `type: "restricted" (default: "restricted")`

        - `"restricted"`

  - `project_id: string`

  - `service_account_id: string`

  - `updated_at: integer`

  - `workload_identity_provider_id: string`

- `first_id: string or null`

- `has_more: boolean`

- `last_id: string or null`

- `object: "list" (default: "list")`

  - `"list"`

### Example

```http
curl -X GET "https://api.openai.com/v1/organization/workload_identity_providers/wip_example/federation_rules?limit=20&order=asc" \
  -H "Authorization: Bearer $OPENAI_ADMIN_KEY"
```

#### Response example

```json
{
  "object": "list",
  "data": [
    {
      "object": "organization.workload_identity_federation_rule",
      "id": "wifr_example",
      "workload_identity_provider_id": "wip_example",
      "project_id": "proj_example",
      "service_account_id": "svc_acct_example",
      "name": null,
      "description": null,
      "attribute_matchers": {
        "sub": "ci:release"
      },
      "permissions": {
        "type": "service_account_default"
      },
      "enabled": true,
      "created_at": 1793664000,
      "updated_at": 1793664000
    }
  ],
  "first_id": "wifr_example",
  "last_id": "wifr_example",
  "has_more": false
}
```

## Retrieve Platform workload identity federation rule

**get** `/organization/workload_identity_providers/{workload_identity_provider_id}/federation_rules/{workload_identity_federation_rule_id}`

Retrieve a federation rule owned by the authenticated organization and provider.

### Path Parameters

- `workload_identity_provider_id: string`

  `minLength: 1`

- `workload_identity_federation_rule_id: string`

  `minLength: 1`

### Returns

- `FederationRule object { id, attribute_matchers, created_at, 9 more }`

  - `id: string`

  - `attribute_matchers: map[string or boolean or number or number]`

    - `string`

    - `boolean`

    - `number or number`

      - `number`

      - `number`

  - `created_at: integer`

  - `description: string or null`

  - `enabled: boolean`

  - `name: string or null`

  - `object: "organization.workload_identity_federation_rule" (default: "organization.workload_identity_federation_rule")`

    - `"organization.workload_identity_federation_rule"`

  - `permissions: DefaultPermissions { type }  or RestrictedPermissions { scopes, type }`

    - `DefaultPermissions object { type }`

      - `type: "service_account_default" (default: "service_account_default")`

        - `"service_account_default"`

    - `RestrictedPermissions object { scopes, type }`

      - `scopes: array of string`

      - `type: "restricted" (default: "restricted")`

        - `"restricted"`

  - `project_id: string`

  - `service_account_id: string`

  - `updated_at: integer`

  - `workload_identity_provider_id: string`

### Example

```http
curl -X GET "https://api.openai.com/v1/organization/workload_identity_providers/wip_example/federation_rules/wifr_example" \
  -H "Authorization: Bearer $OPENAI_ADMIN_KEY"
```

#### Response example

```json
{
  "object": "organization.workload_identity_federation_rule",
  "id": "wifr_example",
  "workload_identity_provider_id": "wip_example",
  "project_id": "proj_example",
  "service_account_id": "svc_acct_example",
  "name": null,
  "description": null,
  "attribute_matchers": {
    "sub": "ci:release"
  },
  "permissions": {
    "type": "service_account_default"
  },
  "enabled": true,
  "created_at": 1793664000,
  "updated_at": 1793664000
}
```

## Update Platform workload identity federation rule

**post** `/organization/workload_identity_providers/{workload_identity_provider_id}/federation_rules/{workload_identity_federation_rule_id}`

Update supplied matcher, permission, metadata, or enabled fields.

### Path Parameters

- `workload_identity_provider_id: string`

  `minLength: 1`

- `workload_identity_federation_rule_id: string`

  `minLength: 1`

### Body Parameters

Content type: `application/json`

- `attribute_matchers: optional map[string or boolean or number or number]`

  - `string`

  - `boolean`

  - `number or number`

    - `number`

    - `number`

- `description: optional string or null`

- `enabled: optional boolean`

- `name: optional string or null`

- `permissions: optional DefaultPermissionsParam { type }  or RestrictedPermissionsParam { scopes, type }`

  - `DefaultPermissionsParam object { type }`

    - `type: "service_account_default" (default: "service_account_default")`

      - `"service_account_default"`

  - `RestrictedPermissionsParam object { scopes, type }`

    - `scopes: array of string`

      `minItems: 1`

    - `type: "restricted" (default: "restricted")`

      - `"restricted"`

### Returns

- `FederationRule object { id, attribute_matchers, created_at, 9 more }`

  - `id: string`

  - `attribute_matchers: map[string or boolean or number or number]`

    - `string`

    - `boolean`

    - `number or number`

      - `number`

      - `number`

  - `created_at: integer`

  - `description: string or null`

  - `enabled: boolean`

  - `name: string or null`

  - `object: "organization.workload_identity_federation_rule" (default: "organization.workload_identity_federation_rule")`

    - `"organization.workload_identity_federation_rule"`

  - `permissions: DefaultPermissions { type }  or RestrictedPermissions { scopes, type }`

    - `DefaultPermissions object { type }`

      - `type: "service_account_default" (default: "service_account_default")`

        - `"service_account_default"`

    - `RestrictedPermissions object { scopes, type }`

      - `scopes: array of string`

      - `type: "restricted" (default: "restricted")`

        - `"restricted"`

  - `project_id: string`

  - `service_account_id: string`

  - `updated_at: integer`

  - `workload_identity_provider_id: string`

### Example

```http
curl -X POST "https://api.openai.com/v1/organization/workload_identity_providers/wip_example/federation_rules/wifr_example" \
  -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "enabled": false
}'
```

#### Response example

```json
{
  "object": "organization.workload_identity_federation_rule",
  "id": "wifr_example",
  "workload_identity_provider_id": "wip_example",
  "project_id": "proj_example",
  "service_account_id": "svc_acct_example",
  "name": null,
  "description": null,
  "attribute_matchers": {
    "sub": "ci:release"
  },
  "permissions": {
    "type": "service_account_default"
  },
  "enabled": false,
  "created_at": 1793664000,
  "updated_at": 1793664000
}
```

## Domain Types

### Federation Rule

- `FederationRule object { id, attribute_matchers, created_at, 9 more }`

  - `id: string`

  - `attribute_matchers: map[string or boolean or number or number]`

    - `string`

    - `boolean`

    - `number or number`

      - `number`

      - `number`

  - `created_at: integer`

  - `description: string or null`

  - `enabled: boolean`

  - `name: string or null`

  - `object: "organization.workload_identity_federation_rule" (default: "organization.workload_identity_federation_rule")`

    - `"organization.workload_identity_federation_rule"`

  - `permissions: DefaultPermissions { type }  or RestrictedPermissions { scopes, type }`

    - `DefaultPermissions object { type }`

      - `type: "service_account_default" (default: "service_account_default")`

        - `"service_account_default"`

    - `RestrictedPermissions object { scopes, type }`

      - `scopes: array of string`

      - `type: "restricted" (default: "restricted")`

        - `"restricted"`

  - `project_id: string`

  - `service_account_id: string`

  - `updated_at: integer`

  - `workload_identity_provider_id: string`

### Federation Rule Deleted

- `FederationRuleDeleted object { id, deleted, object }`

  - `id: string`

  - `deleted: boolean`

  - `object: "organization.workload_identity_federation_rule.deleted" (default: "organization.workload_identity_federation_rule.deleted")`

    - `"organization.workload_identity_federation_rule.deleted"`
