Functions

Reaffirm a suspended function

Lift the suspensions the caller may decide on the function's key (for example one left by a member removal or a grant reduction) and redeploy it. key_suspension_reasons lists any that remain. A function transferred to a new owner while it was stopped is not redeployed: lifting that stop places the transfer's own stop (transfer_stop_placed), which a redeploy lifts, or a further reaffirm by someone who covers its key that names it in the body (suspended_at and suspended_by 'transfer'): that reaffirm accepts the code the previous owner deployed. The body may name any stop the caller saw; a stop that is not the function's stop now lifts nothing.

post/functions/{id}/runtime-key/reaffirm

Request

  • Base URL
    https://api.primitive.dev/v1
  • URL
    https://api.primitive.dev/v1/functions/{id}/runtime-key/reaffirm
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

The function id.

Headers

Idempotency-Keystring

Optional client-supplied idempotency key. Retrying a request with the same key returns the original result instead of performing the action a second time; if omitted the server derives one from the canonical payload hash. Safe to retry network failures without duplicating side effects.

Request body

suspended_atstring date-time
suspended_reasonstring nullable
suspended_by'transfer' | 'access_decision' | 'owner_or_admin' | 'other' nullable

Response

Reaffirm a suspended function

successtrue required

Changes

No operation changes recorded.