---
title: "Refresh service account token"
method: POST
path: "/serviceaccount/{serviceAccount}/refresh"
tags: ["serviceaccount"]
---

# Refresh service account token

`POST /serviceaccount/{serviceAccount}/refresh`

## Path parameters

- `serviceAccount` string, required

## Request body

- ServiceAccountRefreshTokenRequestDto
  - `expiryDate` string, date-time

## Response `200`

default response

- ServiceAccountCreateResponseDto
  - `active` string
  - `serviceAccountUsername` string
  - `token` string

---

[API](https://skmtc.dev/data/apis/data-world-public-api.md) · [All operations](https://skmtc.dev/data/apis/data-world-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/data/data-world-public-api/revisions/0a0cb1f94dad/schema)
