Skip to content

Get the workspace system GPG public key(s)

GET
/workspaces/{workspace}/settings/gpg/public-key

Returns the system public GPG key(s). In most cases a single key is returned. During a key rotation period, two keys may be returned.

workspace
required
string

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.

The system public GPG key(s).

The request wasn’t authenticated.

Media typeapplication/json
Error

Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.

object
type
required
string
error
object
message
required
string
detail
string
data

Optional structured data that is endpoint-specific.

object
key
additional properties
any
key
additional properties
any
Examplegenerated
{
"type": "example",
"error": {
"message": "example",
"detail": "example",
"data": {}
}
}

The requesting user is not a workspace member.

Media typeapplication/json
Error

Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.

object
type
required
string
error
object
message
required
string
detail
string
data

Optional structured data that is endpoint-specific.

object
key
additional properties
any
key
additional properties
any
Examplegenerated
{
"type": "example",
"error": {
"message": "example",
"detail": "example",
"data": {}
}
}

The workspace does not exist.

Media typeapplication/json
Error

Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.

object
type
required
string
error
object
message
required
string
detail
string
data

Optional structured data that is endpoint-specific.

object
key
additional properties
any
key
additional properties
any
Examplegenerated
{
"type": "example",
"error": {
"message": "example",
"detail": "example",
"data": {}
}
}