Skip to Content
SSH Keys

Deploy a SSH Key

POST
/ssh-keys/{ssh_key_id}/deploy

Path Parameters

ssh_key_id*integer

The ID of the ssh key.

Range1 <= value

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Request Body

A JSON object containing the resource data

application/json
  1. body
servers?array<integer>

List of valid resource IDs

Response Body

No Content

Example Request
curl -X POST 'https://api.devopness.com/ssh-keys/123/deploy' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
Empty