コンテンツにスキップ

サービス更新

PUT
/api/v1/services/{id}

サービスの名前・slug・説明・公開設定を更新します。write スコープが必要です。最低1つのフィールドを指定してください。

id
required
string
object
name
string
<= 100 characters
slug
string
>= 2 characters <= 100 characters /^[a-z0-9][a-z0-9-]*[a-z0-9]$/
description
string
nullable <= 500 characters
isPublic

ステータスページの公開/非公開

boolean

更新されたサービス

object
service
object
id
string
teamId
string
name
string
slug
string
description
string
nullable
isPublic
integer
maintenanceUntil

ISO 8601 timestamp until which the service is under maintenance. Null when not in maintenance.

string format: date-time
nullable
autoResolveMaintenance

Whether maintenance auto-resolves (1) or requires manual resolution (0).

integer
Allowed values: 0 1
createdAt
string format: date-time
updatedAt
string format: date-time

Write スコープが必要

サービスが見つからない

Slug が既に使用されている