Create a source tag - Spacefast Docs

Create a source tag

Create a release tag in a ready source connection.

Request

POST /v1/spaces/{spaceId}/source/tags

Authorization

Authorization Bearer token · header required

Authorization: Bearer <token> with an API key (sfa_ prefix), an OAuth access token, a session token, or a Space machine credential (sfm_ prefix).

or

Authorization OAuth2 access token · header required

OAuth 2.0 with Spacefast scopes. People use the authorization code flow; machines use client credentials.

Scopes: spaces:write

Path parameters

spaceId string required

Request body

required application/json

Responses

201 Response for status 201

Error Response

default Error. Every 4xx and 5xx response is one RFC 9457 problem document served as application/problem+json.