Services

Services Partial Update

Update a service within an organization.

Request

patchhttps://api.cloudsmith.io/v1/orgs/{org}/services/{service}
Body params optional

Response body

object

object

description
string
optional
length between 1 and 1024
name
string
optional
length between 1 and 120
role
string
optional
Allowed values: Manager, Member
Defaults to Member
teams
array of objects
optional

Response

Responses

Updated the service within the org

object

object

created_at
date-time
optional
created_by
string
optional
length ≥ 1
created_by_url
uri
optional
description
string
optional
length between 1 and 1024
key
string
optional
key_expires_at
date-time | null
optional
name
string
required
length between 1 and 120
role
string
optional
Allowed values: Manager, Member
Defaults to Member
slug
slug
optional
^[-a-zA-Z0-9_]+$
length ≥ 1
teams
array of objects
optional

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional

Org namespace not found

object

object

detail
string
required
length ≥ 1
fields
object
optional

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional