Targets
Last updated
Was this helpful?
Last updated
Was this helpful?
This document uses the REST API. For more details, see the Authentication for API page.
Get a list of an organization's targets.
/orgs/{org_id}/targets
The id of the org to return a list of targets
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Return the page of results immediately after this cursor
v1.eyJpZCI6IjEwMDAifQo=
Return the page of results immediately before this cursor
v1.eyJpZCI6IjExMDAifQo=
Calculate total amount of filtered results
Number of results to return per page
10
Return targets that match the provided value of is_private
Return only the targets that has projects
Return targets that match the provided remote_url.
Return targets that match the provided source_types
Return targets with display names starting with the provided string
Return only targets which have been created at or after the specified date.
2022-01-01T16:00:00Z
Get a specified target for an organization.
/orgs/{org_id}/targets/{target_id}
The id of the org to return the target from
The id of the target to return
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Delete the specified target.
/orgs/{org_id}/targets/{target_id}
The id of the org to delete
The id of the target to delete
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
No body