---
title: "POST /V1/apiResources"
method: POST
path: "/V1/apiResources"
tags: ["ApiResource"]
---

# POST /V1/apiResources

`POST /V1/apiResources`

## Request body

- BetConstructSSOAuthAPIViewModelsApiResourceViewModel
  - `id` integer
  - `enabled` boolean
  - `name` string, nullable
  - `displayName` string, nullable
  - `description` string, nullable
  - `secrets` BetConstructSSOAuthAPIViewModelsReadViewModelsApiSecretReadViewModel[], nullable
    - `id` integer
    - `apiResourceId` integer
    - `description` string, nullable
    - `value` string, nullable
    - `expiration` string, date-time, nullable
    - `created` string, date-time
    - `type` string, nullable
  - `scopes` BetConstructSSOAuthAPIViewModelsApiScopeViewModel[], nullable
    - `id` integer
    - `name` string, required
    - `displayName` string, nullable
    - `description` string, nullable
    - `required` boolean
    - `emphasize` boolean
    - `showInDiscoveryDocument` boolean
    - `apiResourceId` integer

## Response `200`

Success

---

[API](https://skmtc.dev/accounts-bc/apis/sso-api.md) · [All operations](https://skmtc.dev/accounts-bc/apis/sso-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/accounts-bc/sso-api/revisions/01b9d0188bef/schema)
