Link new marketing goals to a spaceship

In order to define new goals for your company you need to
connect them via this endpoint.

See /goals for a list of all the goals that
you can choose from.

Once a new goal is linked, all previously linked goals will
have status = archived(2). The endpoint is idempotent i.e.
you can add a goal even if it is already linked to
the spaceship. The goal is then reactivated (status = new(1))
and all other types are archived.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
≥ 1

Numeric ID of the spaceship

Body Params
integer
required
Responses
200

Marketing goal linked successfully

403

Access to the requested resource is forbidden.
You might be using an insufficient read-only api-key.

404

Spaceship not found

424

Marketing goal does not exist and can not be linked to spaceship. See /goals for list of valid marketing goals.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*