Oidctoken - Create
POST https://dev.azure.com/{organization}/{scopeIdentifier}/_apis/distributedtask/hubs/{hubName}/plans/{planId}/jobs/{jobId}/oidctoken?api-version=7.1-preview.1
POST https://dev.azure.com/{organization}/{scopeIdentifier}/_apis/distributedtask/hubs/{hubName}/plans/{planId}/jobs/{jobId}/oidctoken?serviceConnectionId={serviceConnectionId}&api-version=7.1-preview.1
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
hub
|
path | True |
string |
The name of the server hub. Common examples: "build", "rm", "checks" |
job
|
path | True |
string uuid |
|
organization
|
path | True |
string |
The name of the Azure DevOps organization. |
plan
|
path | True |
string uuid |
|
scope
|
path | True |
string uuid |
The project GUID to scope the request |
api-version
|
query | True |
string |
Version of the API to use. This should be set to '7.1-preview.1' to use this version of the api. |
service
|
query |
string uuid |
Responses
Name | Type | Description |
---|---|---|
200 OK |
successful operation |
Security
accessToken
Personal access token. Use any value for the user name and the token as the password.
Type:
basic
Definitions
TaskHubOidcToken
Name | Type | Description |
---|---|---|
oidcToken |
string |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for