---
title: "POST /v1/{+parent}/serviceConnectionTokens"
method: POST
path: "/v1/{+parent}/serviceConnectionTokens"
tags: ["projects"]
---

# POST /v1/{+parent}/serviceConnectionTokens

`POST /v1/{+parent}/serviceConnectionTokens`

Creates a new ServiceConnectionToken in a given project and location.

## Path parameters

- `parent` string, required

## Query parameters

- `requestId` string
- `serviceConnectionTokenId` string

## Request body

- ServiceConnectionToken — The ServiceConnectionToken resource.
  - `token` string — Output only. The token generated by Automation.
  - `createTime` string, google-datetime — Output only. Time when the ServiceConnectionToken was created.
  - `description` string — A description of this resource.
  - `updateTime` string, google-datetime — Output only. Time when the ServiceConnectionToken was updated.
  - `name` string — Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
  - `network` string — The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
  - `labels` object — User-defined labels.
  - `expireTime` string, google-datetime — Output only. The time to which this token is valid.
  - `etag` string — Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/networkconnectivity.md) · [All operations](https://skmtc.net/google/apis/networkconnectivity/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/networkconnectivity/versions/778637dee420/schema)
