Skip to main content
POST
Attach a source to a stack

Authorizations

Authorization
string
header
required

StatusStack authenticates requests with API keys, created via the dashboard with granular permissions (read, write, delete, admin, *).

API keys support version compatibility:

  • v1 keys: Can only access v1 endpoints
  • v2 keys: Can access both v1 and v2 endpoints

Available permissions:

  • read: View resources (GET requests)
  • write: Create and update resources (POST, PUT requests)
  • delete: Delete resources (DELETE requests)
  • admin: Administrative access to all resources
  • *: Wildcard permission (all actions allowed)

Path Parameters

stack_id
string<uuid>
required

Body

application/json

Where an attached source sits on the stack. Carried on the stack/source pivot.

source_id
string<uuid>
required
sort_order
integer
Required range: x >= 0
show_all_components
boolean
settings
object

Response

Source was already attached; the existing attachment and its settings are left unchanged

message
string
Example:

"Source is already attached to this stack"

data
object