Skip to content

Add a group SSH certificate

POST
/api/v4/groups/{id}/ssh_certificates

Adds a group SSH certificate for a specified group.

id
required
One of:
string

The ID or URL-encoded path of the group

Media type application/json
object
title
required

The title of the ssh certificate

string
nullable
key
required

The key of the ssh certificate

string
nullable
Example generated
{
"title": "example",
"key": "example"
}

Created

Media type application/json
object
id
integer format: int64
title
string
key
string
created_at
string format: date-time
Example
{
"id": 142,
"title": "new ssh cert",
"created_at": "2022-01-31T15:10:45.080Z"
}

Bad request

Unauthorized

Forbidden

Not found