solarOS Organization API

Organization API

Soft-delete an API-authored Activity

Soft-deletes an Activity and hides it from normal feeds. Only the API key that authored it can delete it.

/api/v1/activities/{id}

Soft-deletes an Activity and hides it from normal feeds. Only the API key that authored it can delete it.

Soft-delete an API-authored Activity. Use an organization API key with activities:delete. Check the response envelope and meta.requestId before triggering dependent workflow steps.

Required scopes

activities:delete

Parameters

NameInTypeDescription
idrequiredpathstringActivity identifier returned by the Organization API.

Request body

This endpoint does not accept a JSON request body.

Responses

200

Deleted Activity envelope

#/components/schemas/OrgApiActionEnvelope

401

Missing or invalid organization API key

#/components/schemas/OrgApiError

402

Organization billing access or an endpoint-specific business quota denied the request

#/components/schemas/OrgApiError

403

Different author

#/components/schemas/OrgApiError

429

Rate limit exceeded

#/components/schemas/OrgApiError

Errors

401 Missing or invalid organization API key402 Organization billing access or an endpoint-specific business quota denied the request403 Different author429 Rate limit exceeded

Static examples

curl -X DELETE "$SOLAROS_BASE_URL/api/v1/activities/$SOLAROS_ACTIVITY" \
  -H "Authorization: Bearer $SOLAROS_API_KEY"