Skip to content

Commit

Permalink
feat: Adding workspace access resource
Browse files Browse the repository at this point in the history
  • Loading branch information
alfespa17 committed Jan 21, 2025
1 parent 2e21c1a commit e943a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/workspace_access_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ func (r *WorkspaceAccessResource) Delete(ctx context.Context, req resource.Delet
return
}

workspaceRequest, err := http.NewRequest(http.MethodDelete, fmt.Sprintf("%s/api/v1/organization/%s/workspace/%s/accesss/%s", r.endpoint, data.OrganizationId.ValueString(), data.WorkspaceId.ValueString(), data.ID.ValueString()), nil)
workspaceRequest, err := http.NewRequest(http.MethodDelete, fmt.Sprintf("%s/api/v1/organization/%s/workspace/%s/access/%s", r.endpoint, data.OrganizationId.ValueString(), data.WorkspaceId.ValueString(), data.ID.ValueString()), nil)
workspaceRequest.Header.Add("Authorization", fmt.Sprintf("Bearer %s", r.token))
if err != nil {
resp.Diagnostics.AddError("Error creating Workspace access resource request", fmt.Sprintf("Error creating Workspace access resource request: %s", err))
Expand Down

0 comments on commit e943a65

Please sign in to comment.